diff options
author | /dev/humancontroller <devhc@example.com> | 2017-02-07 18:51:21 +0100 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:09 +0100 |
commit | 069a74c854991bba55770a4f2143a4576bc47dcb (patch) | |
tree | e284747433e455d6bbc1c572393cb79c863cff14 /src/game/g_buildable.c | |
parent | 69f688e1658f4d934d3a0eca00e8fde1d07273b4 (diff) |
stop creeping off-the-ground players
actually, this is pretty much a no-op, because the "creep everywhere off-ground" bug was actually masked by another bug: WRONG use of groundEntityNum; to be fixed immediately
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r-- | src/game/g_buildable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 796aff15..77ae43c8 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -583,7 +583,7 @@ qboolean G_FindCreep( gentity_t *self ) vec3_t temp_v; //don't check for creep if flying through the air - if( self->s.groundEntityNum == -1 ) + if( !self->client && self->s.groundEntityNum == -1 ) return qtrue; //if self does not have a parentNode or it's parentNode is invalid find a new one |