mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
* bug 123 fixed
This commit is contained in:
@ -526,7 +526,7 @@ std::vector<int> BattleInfo::getAccessibility(int stackID, bool addOccupiable) c
|
||||
{
|
||||
std::vector<int> ret;
|
||||
bool ac[BFIELD_SIZE];
|
||||
const CStack *s = getStack(stackID);
|
||||
const CStack *s = getStack(stackID, false); //this function is called from healedOrResurrected, so our stack can be dead
|
||||
|
||||
if(s->position < 0) //turrets
|
||||
return std::vector<int>();
|
||||
|
Reference in New Issue
Block a user