src/newgrf_engine.cpp
changeset 10775 7061477bfbcf
parent 10703 2c998f3776d1
child 10800 5629c1896792
--- a/src/newgrf_engine.cpp	Thu May 29 11:47:56 2008 +0000
+++ b/src/newgrf_engine.cpp	Thu May 29 15:13:28 2008 +0000
@@ -1123,7 +1123,7 @@
 		/* Populate map with current list positions */
 		Engine *e;
 		FOR_ALL_ENGINES_OF_TYPE(e, VEH_TRAIN) {
-			if (!_settings.vehicle.dynamic_engines || e->grffile == source_e->grffile) {
+			if (!_settings_game.vehicle.dynamic_engines || e->grffile == source_e->grffile) {
 				if (e->internal_id == target) target_e = e;
 				lptr_map[e->list_position] = e;
 			}