mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
vcmi: make some CStack properties private
There is a getters for this properties already available
This commit is contained in:
@@ -156,7 +156,7 @@ BattleAction CGlobalAI::activeStack(const CStack * stack)
|
||||
{
|
||||
BattleAction ba;
|
||||
ba.actionType = EActionType::DEFEND;
|
||||
ba.stackNumber = stack->ID;
|
||||
ba.stackNumber = stack->unitId();
|
||||
return ba;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user