Found the error in the format functor
I shouldn't automatically guess where an error is, since this project is so complex.
This commit is contained in:
@@ -33,7 +33,8 @@ void DummyFormat::Save(Region* const ptr) {
|
||||
|
||||
void LuaFormat::Load(Region** const ptr, int x, int y) {
|
||||
//something to load into
|
||||
if (!ptr) {
|
||||
|
||||
if (!(*ptr)) {
|
||||
(*ptr) = new Region(x, y);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user