1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00
- fixed some warnings from cppcheck
This commit is contained in:
Ivan Savenko
2012-09-26 13:13:39 +00:00
parent 7759ed017e
commit 15a7f43e11
31 changed files with 134 additions and 198 deletions

View File

@@ -285,7 +285,7 @@ void CTownHandler::loadTown(CTown &town, const JsonNode & source)
BOOST_FOREACH(const JsonNode &list, source["creatures"].Vector())
{
std::vector<si32> level;
std::vector<TCreature> level;
BOOST_FOREACH(const JsonNode &node, list.Vector())
{
level.push_back(node.Float());