mode typo, fixed wrong area respawn delay
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2375 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -396,13 +396,13 @@ bool tryrespawn()
|
||||
if(player1->state==CS_DEAD)
|
||||
{
|
||||
// set min wait time when in spectate mode (avoid unfair specting)
|
||||
if(player1->isspectating() && player1->spectatemode!=SM_DEATHCAM)
|
||||
if(player1->isspectating() && player1->spectatemode!=SM_DEATHCAM && !m_arena)
|
||||
{
|
||||
spectate(SM_DEATHCAM);
|
||||
player1->respawnoffset = lastmillis; // count again
|
||||
}
|
||||
|
||||
int respawnmillis = player1->respawnoffset+(m_ctf ? 5000 : 2000);
|
||||
int respawnmillis = player1->respawnoffset+(m_arena ? 0 : (m_ctf ? 5000 : 2000));
|
||||
|
||||
if(lastmillis>respawnmillis)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user