Patched bug #45 without resolving it
This commit is contained in:
@@ -70,11 +70,8 @@ Region* RegionPagerBase::FindRegion(int x, int y) {
|
||||
}
|
||||
|
||||
Region* RegionPagerBase::PushRegion(Region* const ptr) {
|
||||
//BUG: Lists seem to not work properly
|
||||
//BUG: #45 Some regions are occasionally losing their tile data
|
||||
regionList.push_front(*ptr);
|
||||
// if (debugRegionSum(®ionList.front()) == 0) {
|
||||
// throw(std::runtime_error("Checksum fail; RegionPagerBase::PushRegion()"));
|
||||
// }
|
||||
return ®ionList.front();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user