never set groundEntityNum to -1, use ENTITYNUM_NONE instead
From /dev/humancontroller.
This commit is contained in:
@@ -1277,7 +1277,7 @@ typedef struct entityState_s {
|
||||
int otherEntityNum; // shotgun sources, etc
|
||||
int otherEntityNum2;
|
||||
|
||||
int groundEntityNum; // -1 = in air
|
||||
int groundEntityNum; // ENTITYNUM_NONE = in air
|
||||
|
||||
int constantLight; // r + (g<<8) + (b<<16) + (intensity<<24)
|
||||
int loopSound; // constantly loop this sound
|
||||
|
Reference in New Issue
Block a user