From c7debf79086300d6ec7ded3973f4d506b5ed2aef Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 12 Jan 2008 21:25:04 +0000 Subject: (svn r11824) -Fix (r11822): Converting signs from TTD games incomplete --- src/oldloader.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/oldloader.cpp b/src/oldloader.cpp index bf2000506..89330fd68 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -1264,10 +1264,11 @@ static const OldChunks sign_chunk[] = { static bool LoadOldSign(LoadgameState *ls, int num) { - if (!LoadChunk(ls, new (num) Sign(), sign_chunk)) return false; + Sign *si = new (num) Sign(); + if (!LoadChunk(ls, si, sign_chunk)) return false; _old_string_id = RemapOldStringID(_old_string_id); - // XXX copy if custom name$$$ + si->name = CopyFromOldName(_old_string_id); return true; } -- cgit v1.2.3-70-g09d2