switching between spect modes, demo recording fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1462 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -321,7 +321,7 @@ struct playerent : dynent, playerstate
|
||||
int nextweapon; // weapon we switch to
|
||||
int skin, nextskin; // skin after respawning
|
||||
int spectating, followplayercn;
|
||||
virtual float dyneyeheight() { return state==CS_DEAD && spectating==SM_FLY ? 1.0f : physent::dyneyeheight(); }
|
||||
virtual float dyneyeheight() { return (state==CS_DEAD || state==CS_SPECTATE) && spectating==SM_FLY ? 1.0f : physent::dyneyeheight(); }
|
||||
bool allowmove() { return state!=CS_DEAD || spectating==SM_FLY; }
|
||||
|
||||
int thrownademillis;
|
||||
|
||||
Reference in New Issue
Block a user