mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Obvious fix
This commit is contained in:
parent
bbb3e701ab
commit
916aedb13c
@ -309,7 +309,7 @@ const rmg::Area & Object::getBlockVisitableArea() const
|
||||
|
||||
const rmg::Area & Object::getRemovableArea() const
|
||||
{
|
||||
if(dInstances.empty())
|
||||
if(dRemovableAreaCache.empty())
|
||||
{
|
||||
for(const auto & i : dInstances)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user