Map votestring bug #1 fixed

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6928 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Ronald Reagan
2012-11-17 19:36:16 +00:00
parent 66f8feee3b
commit 2900af4f15
+2 -2
View File
@@ -1345,11 +1345,11 @@ char *votestring(int type, const char *arg1, const char *arg2, const char *arg3)
int n = atoi(arg2);
if ( n >= GMODE_NUM )
{
formatstring(out)(msg, arg1, modestr(n-GMODE_NUM, modeacronyms > 0)," (in the next game)", arg3);
formatstring(out)(msg, arg1, modestr(nextmode, modeacronyms > 0)," (in the next game)", arg3);
}
else
{
formatstring(out)(msg, arg1, modestr(n, modeacronyms > 0), "", arg3);
formatstring(out)(msg, arg1, modestr(nextmode, modeacronyms > 0), "", arg3);
}
break;
}