mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Battles: move hexes enum to GameConstants and fix wall position
Before we had hex 62 marked as destructible wall while actually it's must be 78.
This commit is contained in:
@ -1210,7 +1210,8 @@ DLL_LINKAGE void BattleObstaclePlaced::applyGs( CGameState *gs )
|
||||
|
||||
DLL_LINKAGE void BattleDrawbridgeStateChanged::applyGs(CGameState *gs)
|
||||
{
|
||||
gs->curB->si.drawbridgeState = state;
|
||||
if(gs->curB)
|
||||
gs->curB->si.drawbridgeState = state;
|
||||
}
|
||||
|
||||
void BattleResult::applyGs( CGameState *gs )
|
||||
|
Reference in New Issue
Block a user