diff src/train_cmd.cpp @ 11903:c40e241e65ba draft

(svn r16303) -Codechange: Use the question mark as default sprite when creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)
author frosch <frosch@openttd.org>
date Wed, 13 May 2009 21:45:56 +0000 (2009-05-13)
parents 5b2be5f84fe8
children 06375a564163
line wrap: on
line diff
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -699,7 +699,7 @@
 		v->u.rail.railtype = rvi->railtype;
 
 		v->build_year = _cur_year;
-		v->cur_image = 0xAC2;
+		v->cur_image = SPR_IMG_QUERY;
 		v->random_bits = VehicleRandomBits();
 
 		v->group_id = DEFAULT_GROUP;
@@ -761,7 +761,7 @@
 	u->u.rail.railtype = v->u.rail.railtype;
 	u->engine_type = v->engine_type;
 	u->build_year = v->build_year;
-	u->cur_image = 0xAC2;
+	u->cur_image = SPR_IMG_QUERY;
 	u->random_bits = VehicleRandomBits();
 	SetMultiheaded(v);
 	SetMultiheaded(u);
@@ -856,7 +856,7 @@
 		v->service_interval = _settings_game.vehicle.servint_trains;
 		v->date_of_last_service = _date;
 		v->build_year = _cur_year;
-		v->cur_image = 0xAC2;
+		v->cur_image = SPR_IMG_QUERY;
 		v->random_bits = VehicleRandomBits();
 
 //		v->vehicle_flags = 0;