mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Map/Road/River identifiers are now private members
This commit is contained in:
@ -408,7 +408,7 @@ void MapController::commitObstacleFill(int level)
|
||||
if(tl.blocked || tl.visitable)
|
||||
continue;
|
||||
|
||||
terrainSelected[tl.terType->id].blockedArea.add(t);
|
||||
terrainSelected[tl.terType->getId()].blockedArea.add(t);
|
||||
}
|
||||
|
||||
for(auto & sel : terrainSelected)
|
||||
|
Reference in New Issue
Block a user