From 2900af4f1521950cb794bfff5bcb663f77198d4c Mon Sep 17 00:00:00 2001 From: Ronald Reagan Date: Sat, 17 Nov 2012 19:36:16 +0000 Subject: [PATCH] Map votestring bug #1 fixed git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6928 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientgame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 428e0e3d..fa5f0534 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -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; }