Out of paranoia (since I haven't compiled against Linux), switch out min() for our defined version of MIN.
This commit is contained in:
@@ -214,7 +214,7 @@ void Task::LoadAIDeckNames()
|
||||
int Task::getAIDeckCount()
|
||||
{
|
||||
LoadAIDeckNames();
|
||||
return min((size_t) options[Options::AIDECKS_UNLOCKED].number, sAIDeckNames.size());
|
||||
return MIN((size_t) options[Options::AIDECKS_UNLOCKED].number, sAIDeckNames.size());
|
||||
}
|
||||
|
||||
string Task::getAIDeckName(int id)
|
||||
|
||||
Reference in New Issue
Block a user