show mode description only in multiplayer

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3101 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-10-17 20:03:54 +00:00
parent 61114a6177
commit b578ac04c0
+6 -3
View File
@@ -706,10 +706,13 @@ void startmap(const char *name, bool reset) // called just after a map load
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)
if(multiplayer(false))
{
s_sprintfd(desc)("\f1%s", gmdescs[i].desc);
conoutf(desc);
loopv(gmdescs) if(gmdescs[i].mode == gamemode)
{
s_sprintfd(desc)("\f1%s", gmdescs[i].desc);
conoutf(desc);
}
}
// run once