vehicle.c
changeset 1359 52782e5cf7c9
parent 1349 15979a2e9001
child 1364 238934514bfd
--- a/vehicle.c	Sat Feb 12 00:20:46 2005 +0000
+++ b/vehicle.c	Sat Feb 12 15:53:32 2005 +0000
@@ -1104,7 +1104,7 @@
 };
 
 
-Vehicle *CreateEffectVehicle(int x, int y, int z, int type)
+Vehicle *CreateEffectVehicle(int x, int y, int z, EffectVehicle type)
 {
 	Vehicle *v;
 
@@ -1129,12 +1129,12 @@
 	return v;
 }
 
-Vehicle *CreateEffectVehicleAbove(int x, int y, int z, int type)
+Vehicle *CreateEffectVehicleAbove(int x, int y, int z, EffectVehicle type)
 {
 	return CreateEffectVehicle(x, y, GetSlopeZ(x, y) + z, type);
 }
 
-Vehicle *CreateEffectVehicleRel(Vehicle *v, int x, int y, int z, int type)
+Vehicle *CreateEffectVehicleRel(const Vehicle *v, int x, int y, int z, EffectVehicle type)
 {
 	return CreateEffectVehicle(v->x_pos + x, v->y_pos + y, v->z_pos + z, type);
 }