diff options
author | truelight <truelight@openttd.org> | 2005-02-04 14:45:32 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-02-04 14:45:32 +0000 |
commit | 4f5255c36eb39744a0fb0ceda0364ff8d4d3524f (patch) | |
tree | 684f650c3072700fb0cee6a014fae1d38b365317 /oldloader.c | |
parent | 97728357e442315962c62927032f1daa97ff107d (diff) | |
download | openttd-4f5255c36eb39744a0fb0ceda0364ff8d4d3524f.tar.xz |
(svn r1787) -Add: Dynamic signs (euh.. yeah, this means you can built 64k signs)
Diffstat (limited to 'oldloader.c')
-rw-r--r-- | oldloader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oldloader.c b/oldloader.c index ad7455c4e..8647a0eeb 100644 --- a/oldloader.c +++ b/oldloader.c @@ -1100,6 +1100,9 @@ static void FixSign(OldSign *o, int num) if (o->text == 0) continue; + if (!AddBlockIfNeeded(&_sign_pool, i)) + error("Signs: failed loading savegame: too many signs"); + n = GetSign(i); n->str = o->text; |