Fixed warning on Windows introduced in latest commit.
This commit is contained in:
@@ -247,7 +247,7 @@ bool Player::parseLine(const string& s)
|
|||||||
}
|
}
|
||||||
else if (areaS.compare("premade") == 0)
|
else if (areaS.compare("premade") == 0)
|
||||||
{
|
{
|
||||||
premade = atoi(s.substr(limiter + 1).c_str());
|
premade = (atoi(s.substr(limiter + 1).c_str())==1);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (areaS.compare("deckfile") == 0)
|
else if (areaS.compare("deckfile") == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user