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:
driAn
2008-08-24 14:51:56 +00:00
parent dddb0fa135
commit f6fe5784c3
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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)
{