mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
* Fixed crash on casting spells.
* version bump
This commit is contained in:
@@ -1593,7 +1593,7 @@ ESpellCastProblem::ESpellCastProblem CBattleInfoCallback::battleCanCastThisSpell
|
|||||||
case CSpell::CREATURE_EXPERT_MASSIVE:
|
case CSpell::CREATURE_EXPERT_MASSIVE:
|
||||||
if(mode == ECastingMode::HERO_CASTING)
|
if(mode == ECastingMode::HERO_CASTING)
|
||||||
{
|
{
|
||||||
const CGHeroInstance * caster = battleGetFightingHero(player);
|
const CGHeroInstance * caster = battleGetFightingHero(side);
|
||||||
bool targetExists = false;
|
bool targetExists = false;
|
||||||
BOOST_FOREACH(const CStack * stack, battleAliveStacks())
|
BOOST_FOREACH(const CStack * stack, battleAliveStacks())
|
||||||
{
|
{
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
namespace GameConstants
|
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/, ...).
|
* DATA_DIR contains the game data (Data/, MP3/, ...).
|
||||||
|
Reference in New Issue
Block a user