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

This commit is contained in:
peter1138 2006-04-19 07:50:16 +00:00
parent de84d6338d
commit 0c889ec8c6
1 changed files with 3 additions and 1 deletions

View File

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