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)
|
||||
{
|
||||
|
||||
+1
-1
@@ -504,7 +504,7 @@ int main(int argc, char **argv)
|
||||
initing = NOT_INITING;
|
||||
|
||||
#ifdef WIN32
|
||||
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
||||
SetPriorityClass(GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
|
||||
#endif
|
||||
|
||||
initlog("sdl");
|
||||
|
||||
@@ -97,7 +97,7 @@ const char *modefullnames[] =
|
||||
{
|
||||
"team deathmatch", "coopedit", "deathmatch", "survivor",
|
||||
"team survivor", "ctf", "pistol frenzy", "bot team deathmatch", "bot deathmatch", "last swiss standing",
|
||||
"one shot, one kill", "team one shot, one kill", "bot one shot, one skill"
|
||||
"one shot, one kill", "team one shot, one kill", "bot one shot, one kill"
|
||||
};
|
||||
|
||||
const char *modeacronymnames[] =
|
||||
|
||||
Reference in New Issue
Block a user