1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Applied patch from #749

This commit is contained in:
DjWarmonger 2011-06-18 04:56:32 +00:00
parent 4b7d0f3092
commit 361e58eddb
2 changed files with 2 additions and 2 deletions

View File

@ -4008,7 +4008,7 @@ CBattleHero::~CBattleHero()
Point CBattleHex::getXYUnitAnim(const int & hexNum, const bool & attacker, const CStack * stack, const CBattleInterface * cbi)
{
Point ret(-500, -500); //returned value
if(stack->position < 0) //creatures in turrets
if(stack && stack->position < 0) //creatures in turrets
{
switch(stack->position)
{