if (titleBarText) {
titleBarText = 0;
++cursor;
- while (cursor < (int)battle->Monsters().size() && !battle->MonsterPositionOccupied(cursor)) {
+ while (cursor < battle->MaxMonsters() && !battle->MonsterPositionOccupied(cursor)) {
++cursor;
}
- if (cursor >= (int)battle->Monsters().size()) {
+ if (cursor >= battle->MaxMonsters()) {
battle->ClearAllAttacks();
ctrl->PopState();
}
battle->RenderBackground(screen, offset);
battle->RenderMonsters(screen, offset);
battle->RenderHeroes(screen, offset);
- // render small tags
+ battle->RenderSmallHeroTags(screen, offset);
RenderTitleBar(screen, offset);
}