mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Replace static_cast's of Identifiers with getNum call
This commit is contained in:
@@ -2113,7 +2113,7 @@ void BattleStart::applyGs(CGameState * gs) const
|
||||
info->battleID = gs->nextBattleID;
|
||||
info->localInit();
|
||||
|
||||
gs->nextBattleID = vstd::next(gs->nextBattleID, 1);
|
||||
gs->nextBattleID = BattleID(gs->nextBattleID.getNum() + 1);
|
||||
}
|
||||
|
||||
void BattleNextRound::applyGs(CGameState * gs) const
|
||||
|
||||
Reference in New Issue
Block a user