(svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to the south.
authorrubidium
Tue, 09 Oct 2007 15:48:41 +0000
changeset 8196 ce66e31a152c
parent 8195 2676eea146e6
child 8197 961f90e66ba5
(svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to the south.
src/aircraft_cmd.cpp
--- a/src/aircraft_cmd.cpp	Tue Oct 09 15:28:40 2007 +0000
+++ b/src/aircraft_cmd.cpp	Tue Oct 09 15:48:41 2007 +0000
@@ -1261,8 +1261,8 @@
 			SetAircraftPosition(v, v->x_pos, v->y_pos, v->z_pos);
 			r = Random();
 			CreateEffectVehicleRel(v,
-				GB(r, 0, 4) + 4,
-				GB(r, 4, 4) + 4,
+				GB(r, 0, 4) - 4,
+				GB(r, 4, 4) - 4,
 				GB(r, 8, 4),
 				EV_EXPLOSION_SMALL);
 		}