View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-26-2011 , 13:03   Re: MapChooser Extended 1.6.3 (Updated 2011-06-22)
Reply With Quote #115

Quote:
Originally Posted by Monsi View Post
I checked the sourcecode, can you confirm this - is this the part?

Method:
CreateNextVote()

lines:

GetCurrentMap(map, sizeof(map));
index = FindStringInArray(tempMaps, map);
if (index != -1)
{
RemoveFromArray(tempMaps, index);
}

Wouldn't it be enough to remove this for me or to surround it with some kind of var-check (0 - do this, 1 don't do this)?

I can do that on my own, that's no problem. Just want to confirm that i'm right
Likely, yes. Like I said, I didn't write that code, but that certainly looks like the code that removes the current map from the map list it chooses random maps from..
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline