More warning cleanup (type to type conversion warnings).

This commit is contained in:
wrenczes@gmail.com
2011-06-02 06:14:28 +00:00
parent 4018d17370
commit 90b1058ad5
13 changed files with 26 additions and 18 deletions

View File

@@ -819,7 +819,7 @@ void TaskDelay::restoreCustomAttribs()
turn = atoi(persistentAttribs[COMMON_ATTRIBS_COUNT].c_str());
if (persistentAttribs.size() > COMMON_ATTRIBS_COUNT + 1)
{
afterTurn = static_cast<bool> (atoi(persistentAttribs[COMMON_ATTRIBS_COUNT + 1].c_str()));
afterTurn = atoi(persistentAttribs[COMMON_ATTRIBS_COUNT + 1].c_str()) > 0;
}
}