From 0961668e142bd7e6ab09d896b7888a2056e9606c Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 18 Jun 2009 18:13:38 +0000 Subject: (svn r16596) -Fix (r16378): there were several hundreds of empty signs above tile 0 after loading TTO/TTD savegame --- src/saveload/oldloader_sl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2