diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-19 07:50:16 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-19 07:50:16 +0000 |
commit | 0c889ec8c65d6068f4c863b169d61b5acf1ffde6 (patch) | |
tree | 37e4ef32df73b247499031b1c3b21e98eaa98867 | |
parent | de84d6338d50a35aaee6ae296c796ed3e55b4435 (diff) | |
download | openttd-0c889ec8c65d6068f4c863b169d61b5acf1ffde6.tar.xz |
(svn r4474) - NewGRF: Skip non-fatal errors when not in stage 2.
-rw-r--r-- | newgrf.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2076,8 +2076,10 @@ static void GRFError(byte *buf, int len) msgid = buf[3]; // Undocumented TTDPatch feature. - if ((severity & 0x80) == 0 && _cur_stage == 0) + if ((severity & 0x80) == 0 && _cur_stage < 2) { + DEBUG(grf, 7) ("Skipping non-fatal GRFError in stage 1"); return; + } severity &= 0x7F; if (msgid == 0xFF) { |