mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Fix infinite loop on Fear trigger
This commit is contained in:
parent
a5501abd01
commit
4ab2e617d5
@ -194,7 +194,8 @@ void BattleAction::setTarget(const battle::Target & target_)
|
||||
|
||||
bool BattleAction::isUnitAction() const
|
||||
{
|
||||
static const std::array<EActionType, 9> actions = {
|
||||
static const std::array<EActionType, 109> actions = {
|
||||
EActionType::NO_ACTION,
|
||||
EActionType::WALK,
|
||||
EActionType::WAIT,
|
||||
EActionType::DEFEND,
|
||||
|
Loading…
Reference in New Issue
Block a user