mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
* Fixed crash on casting spells.
* version bump
This commit is contained in:
parent
529394a4e7
commit
d961ec0507
@ -1593,7 +1593,7 @@ ESpellCastProblem::ESpellCastProblem CBattleInfoCallback::battleCanCastThisSpell
|
||||
case CSpell::CREATURE_EXPERT_MASSIVE:
|
||||
if(mode == ECastingMode::HERO_CASTING)
|
||||
{
|
||||
const CGHeroInstance * caster = battleGetFightingHero(player);
|
||||
const CGHeroInstance * caster = battleGetFightingHero(side);
|
||||
bool targetExists = false;
|
||||
BOOST_FOREACH(const CStack * stack, battleAliveStacks())
|
||||
{
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
namespace GameConstants
|
||||
{
|
||||
const std::string VCMI_VERSION = "VCMI 0.89b";
|
||||
const std::string VCMI_VERSION = "VCMI 0.89c";
|
||||
|
||||
/*
|
||||
* DATA_DIR contains the game data (Data/, MP3/, ...).
|
||||
|
Loading…
x
Reference in New Issue
Block a user