summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/oldloader.cpp5
1 files 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;
}