summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-10-09 15:48:41 +0000
committerrubidium <rubidium@openttd.org>2007-10-09 15:48:41 +0000
commit84d93ec0e2bb3dbcbe1ad18fc6c4b580e6bab9c8 (patch)
treed30548a6ae6b70ed3643e5b7a45dbbaedb60e2a0 /src
parent6b9bff753188dde4678f78f0e12eeb618435b9c8 (diff)
downloadopenttd-84d93ec0e2bb3dbcbe1ad18fc6c4b580e6bab9c8.tar.xz
(svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to the south.
Diffstat (limited to 'src')
-rw-r--r--src/aircraft_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp
index 8dad10575..a879554ed 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -1261,8 +1261,8 @@ static void HandleCrashedAircraft(Vehicle *v)
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);
}