mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Few lost lines from previous commit.
This commit is contained in:
@@ -467,6 +467,11 @@ void CCreatureHandler::loadCreatures()
|
||||
{
|
||||
int id, lvl;
|
||||
ifs >> id >> lvl;
|
||||
if(lvl>0)
|
||||
{
|
||||
creatures[id]->level = lvl;
|
||||
levelCreatures[lvl].push_back(creatures[id]);
|
||||
}
|
||||
}
|
||||
}
|
||||
ifs.close();
|
||||
|
Reference in New Issue
Block a user