I'm trying to add a new cvar called "g_airControl" that gives some, err, control over air control similar to how Unreal engine games do it. The code itself just makes pm_airaccelerate a percentage of pm_accelerate according to the cvar value, and that works fine. However I'm getting an error when I compile:
Code: Select all
Q3ASM build/release-linux-i386/baseq3/vm/cgame.qvm
error: symbol g_airControl undefined
For what it's worth, I'm working off the ioquake3 base, and compiling as a normal C project rather than as a mod.