Minor tweaks

This commit is contained in:
Kayne Ruse
2014-08-13 06:19:07 +10:00
parent 956e920b7a
commit 182101b592
3 changed files with 4 additions and 8 deletions
+3 -2
View File
@@ -91,8 +91,9 @@ Region* RegionPagerBase::CreateRegion(int x, int y) {
}
void RegionPagerBase::UnloadRegion(int x, int y) {
//custom loop, not FindRegion()
regionList.remove_if([x, y](Region& region) -> bool { return region.GetX() == x && region.GetY() == y; });
regionList.remove_if([x, y](Region& region) -> bool {
return region.GetX() == x && region.GetY() == y;
});
}
void RegionPagerBase::UnloadAll() {