mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
* Updated class - file - handling
* Renamed color constants * Renamed class AdventureMapButton to CAdventureMapButton * Moved basic controls like CTextBox from GuiClasses to CIntObjectClasses * Moved new creature window from GuiClasses to CCreatureWindow
This commit is contained in:
@@ -1150,7 +1150,7 @@ DLL_LINKAGE void StacksHealedOrResurrected::applyGs( CGameState *gs )
|
||||
CStack * changedStack = gs->curB->getStack(healedStacks[g].stackID, false);
|
||||
|
||||
//checking if we resurrect a stack that is under a living stack
|
||||
std::vector<SBattleHex> access = gs->curB->getAccessibility(changedStack, true);
|
||||
std::vector<BattleHex> access = gs->curB->getAccessibility(changedStack, true);
|
||||
bool acc[GameConstants::BFIELD_SIZE];
|
||||
for(int h=0; h<GameConstants::BFIELD_SIZE; ++h)
|
||||
acc[h] = false;
|
||||
@@ -1260,7 +1260,7 @@ DLL_LINKAGE void BattleStacksRemoved::applyGs( CGameState *gs )
|
||||
|
||||
DLL_LINKAGE void BattleStackAdded::applyGs(CGameState *gs)
|
||||
{
|
||||
if (!SBattleHex(pos).isValid())
|
||||
if (!BattleHex(pos).isValid())
|
||||
{
|
||||
tlog2 << "No place found for new stack!\n";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user