jumping corpse fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2644 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -590,9 +590,9 @@ void attack(bool on)
|
||||
void jumpn(bool on)
|
||||
{
|
||||
if(intermission) return;
|
||||
if(player1->isspectating() && lastmillis - player1->respawnoffset > 1000)
|
||||
if(player1->isspectating())
|
||||
{
|
||||
if(on) togglespect();
|
||||
if(lastmillis - player1->respawnoffset > 1000 && on) togglespect();
|
||||
}
|
||||
else if(player1->crouching) return;
|
||||
else player1->jumpnext = on;
|
||||
|
||||
Reference in New Issue
Block a user