(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.
authorrubidium
Sun, 16 Dec 2007 22:21:34 +0000
changeset 8585 6579b0a2ba0e
parent 8584 a8b6dffead63
child 8586 d79873568898
(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.
src/newgrf.cpp
--- a/src/newgrf.cpp	Sun Dec 16 19:30:42 2007 +0000
+++ b/src/newgrf.cpp	Sun Dec 16 22:21:34 2007 +0000
@@ -3737,7 +3737,7 @@
 		_skip_sprites = -1;
 
 		/* If an action 8 hasn't been encountered yet, disable the grf. */
-		if (_cur_grfconfig->status != GCS_ACTIVATED && _cur_grfconfig->status != GCS_INITIALISED) {
+		if (_cur_grfconfig->status != GCS_ACTIVATED) {
 			_cur_grfconfig->status = GCS_DISABLED;
 		}
 	}