--- a/disaster_cmd.c Mon Jan 03 19:06:16 2005 +0000
+++ b/disaster_cmd.c Mon Jan 03 19:09:45 2005 +0000
@@ -178,7 +178,7 @@
0);
}
}
- if (v->y_pos >= (MapSizeY() + 9) * 16 - 1)
+ if (v->y_pos >= ((int)MapSizeY() + 9) * 16 - 1)
DeleteDisasterVeh(v);
return;
}
@@ -416,7 +416,7 @@
GetNewVehiclePos(v, &gp);
SetDisasterVehiclePos(v, gp.x, gp.y, v->z_pos);
- if (gp.x > MapSizeX() * 16 + 9*16 - 1) {
+ if (gp.x > (int)MapSizeX() * 16 + 9*16 - 1) {
DeleteDisasterVeh(v);
return;
}
@@ -594,7 +594,7 @@
GetNewVehiclePos(v, &gp);
SetDisasterVehiclePos(v, gp.x, gp.y, v->z_pos);
- if (gp.x > MapSizeX() * 16 + 9*16 - 1) {
+ if (gp.x > (int)MapSizeX() * 16 + 9*16 - 1) {
DeleteDisasterVeh(v);
return;
}