ship_cmd.c
changeset 2477 d454d5152386
parent 2464 3dee59d241c0
child 2552 fb174febb0b1
--- a/ship_cmd.c	Fri Sep 30 20:51:20 2005 +0000
+++ b/ship_cmd.c	Sat Oct 01 12:43:34 2005 +0000
@@ -28,7 +28,7 @@
 	return r | r >> 8;
 }
 
-void DrawShipEngine(int x, int y, int engine, uint32 image_ormod)
+void DrawShipEngine(int x, int y, EngineID engine, uint32 image_ormod)
 {
 	int spritenum = ShipVehInfo(engine)->image_index;
 
@@ -905,7 +905,7 @@
 
 		v->last_station_visited = INVALID_STATION;
 		v->max_speed = svi->max_speed;
-		v->engine_type = (byte)p1;
+		v->engine_type = p1;
 
 		e = GetEngine(p1);
 		v->reliability = e->reliability;