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:
parent
d4216a9191
commit
d6336d7c45
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user