mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-06 22:37:22 +00:00
(svn r11824) -Fix (r11822): Converting signs from TTD games incomplete
This commit is contained in:
parent
e677814a4b
commit
c7debf7908
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user