mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-02 00:10:22 +02:00
Merge pull request #1078 from Nordsoft91/advspell-mech-fix
[1072] Fix advmap spell mechanics
This commit is contained in:
commit
bae4750e93
@ -776,7 +776,7 @@ std::unique_ptr<IAdventureSpellMechanics> IAdventureSpellMechanics::createMechan
|
||||
case SpellID::VIEW_AIR:
|
||||
return make_unique<ViewAirMechanics>(s);
|
||||
default:
|
||||
return std::unique_ptr<IAdventureSpellMechanics>();
|
||||
return s->combat ? std::unique_ptr<IAdventureSpellMechanics>() : make_unique<AdventureSpellMechanics>(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user