delay when respawning from spect mode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2358 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -564,7 +564,10 @@ void attack(bool on)
|
||||
{
|
||||
if(intermission) return;
|
||||
if(editmode) editdrag(on);
|
||||
else if(player1->state==CS_DEAD) tryrespawn();
|
||||
else if(player1->state==CS_DEAD)
|
||||
{
|
||||
if(!on) tryrespawn();
|
||||
}
|
||||
else player1->attacking = on;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user