added warning for flag modes on maps without flags

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2496 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-09-07 13:35:10 +00:00
parent 3e9d799ee5
commit 8191162962
+2 -1
View File
@@ -612,7 +612,8 @@ void startmap(const char *name) // called just after a map load
showscores(false);
intermission = false;
minutesremaining = -1;
if(*clientmap) conoutf("game mode is \"%s\"", modestr(gamemode, modeacronyms > 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" : "");
// run once
if(firstrun)