Implemented lua, shaking out latent bugs
This commit is contained in:
@@ -28,6 +28,8 @@ RegionPagerBase::~RegionPagerBase() {
|
||||
UnloadAll();
|
||||
};
|
||||
|
||||
//TODO: add nullptr checks to the calls to GetRegion()
|
||||
|
||||
Region::type_t RegionPagerBase::SetTile(int x, int y, int z, Region::type_t v) {
|
||||
Region* ptr = GetRegion(x, y);
|
||||
return ptr->SetTile(x - ptr->GetX(), y - ptr->GetY(), z, v);
|
||||
|
||||
Reference in New Issue
Block a user