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:
driAn
2007-12-15 20:45:02 +00:00
parent 1da623b451
commit ad52973b6f
8 changed files with 35 additions and 32 deletions
+1 -1
View File
@@ -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;