fix countdown when changing map

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2769 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-09-27 09:23:33 +00:00
parent 12743778c5
commit 4b7e419baf
+1
View File
@@ -668,6 +668,7 @@ void startmap(const char *name) // called just after a map load
showscores(false);
intermission = false;
minutesremaining = -1;
arenaintermission = 0;
bool noflags = (m_ctf || m_ktf) && (!numflagspawn[0] || !numflagspawn[1]);
if(*clientmap) conoutf("game mode is \"%s\"%s", modestr(gamemode, modeacronyms > 0), noflags ? " - \f2but there are no flag bases on this map" : "");
loopv(gmdescs) if(gmdescs[i].mode == gamemode) conoutf(gmdescs[i].desc);