diff options
author | smatz <smatz@openttd.org> | 2009-06-18 18:13:38 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-18 18:13:38 +0000 |
commit | 0961668e142bd7e6ab09d896b7888a2056e9606c (patch) | |
tree | dc05b5f5ffc3dd924684c4e20c50b3a9cfede06f | |
parent | ca15d98db3f11d48bc45639496cae61b4c52d6be (diff) | |
download | openttd-0961668e142bd7e6ab09d896b7888a2056e9606c.tar.xz |
(svn r16596) -Fix (r16378): there were several hundreds of empty signs above tile 0 after loading TTO/TTD savegame
-rw-r--r-- | src/saveload/oldloader_sl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp index 66b8cd085..3ce4fc81b 100644 --- a/src/saveload/oldloader_sl.cpp +++ b/src/saveload/oldloader_sl.cpp @@ -1420,6 +1420,8 @@ static bool LoadOldSign(LoadgameState *ls, int num) si->name = CopyFromOldName(RemapOldStringID(_old_string_id)); } si->owner = OWNER_NONE; + } else { + delete si; } return true; |