fix for copy-paste bug - thanks for fix goes to Alanstr

This commit is contained in:
Pelish 2010-02-07 10:55:30 +00:00
parent 97bdc50374
commit 4674084526

View file

@ -174,7 +174,7 @@ static void _maplists_add_map(t_clienttag clienttag, char * mapname, int queue)
if (maplists_yuri[queue][0] < MAXMAPS_PER_QUEUE) {
maplists_yuri[queue][0]++;
maplists_yuri[queue][(int)maplists_ral2[queue][0]] = j;
maplists_yuri[queue][(int)maplists_yuri[queue][0]] = j;
} else {
eventlog(eventlog_level_error,__FUNCTION__,
"cannot add map \"%s\" for gametype: %s (maxmaps per qametype: %d)",