1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Reverted change that seems to cause regression

This commit is contained in:
Tomasz Zieliński 2023-12-21 17:55:08 +01:00
parent d4216a9191
commit d6336d7c45

View File

@ -412,10 +412,7 @@ Area operator+ (const Area & l, const Area & r)
Area operator- (const Area & l, const Area & r)
{
Area result(l);
for(const auto & t : r.getTilesVector())
{
result.dTiles.erase(t);
}
result.subtract(r);
return result;
}