(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 7700 11fcc2bbbf0f
parent 7699 ed0f40f66af9
child 7701 64dbb9bd4b26
(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);
 		}