1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Obvious fix

This commit is contained in:
Tomasz Zieliński
2023-12-19 09:24:01 +01:00
parent bbb3e701ab
commit 916aedb13c

View File

@@ -309,7 +309,7 @@ const rmg::Area & Object::getBlockVisitableArea() const
const rmg::Area & Object::getRemovableArea() const const rmg::Area & Object::getRemovableArea() const
{ {
if(dInstances.empty()) if(dRemovableAreaCache.empty())
{ {
for(const auto & i : dInstances) for(const auto & i : dInstances)
{ {