(svn r4474) - NewGRF: Skip non-fatal errors when not in stage 2.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 19 years ago
parent de84d6338d
commit 0c889ec8c6

@ -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) {

Loading…
Cancel
Save