'showscores' now takes an argument instead of a keypress; hide scores, when minimap is shown

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3890 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-12-06 18:57:52 +00:00
parent abcd337ae8
commit 47eb67a2df
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
void *scoremenu = NULL, *teammenu = NULL, *ctfmenu = NULL;
void showscores(bool on)
void showscores(int on)
{
if(on) showmenu(m_flags ? "ctf score" : (m_teammode ? "team score" : "score"), false);
else
@@ -16,7 +16,7 @@ void showscores(bool on)
}
}
COMMAND(showscores, ARG_DOWN);
COMMAND(showscores, ARG_1INT);
struct sline
{