Changeset - r3588:090edbaec090
[Not reviewed]
master
0 1 0
peter1138 - 18 years ago 2006-04-19 07:50:16
peter1138@openttd.org
(svn r4474) - NewGRF: Skip non-fatal errors when not in stage 2.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
newgrf.c
Show inline comments
 
@@ -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) {
0 comments (0 inline, 0 general)