summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-01-29 17:56:36 +0000
committeryexo <yexo@openttd.org>2010-01-29 17:56:36 +0000
commitf8b0ddd3eca33be188b90b62c13cecd2c0c18783 (patch)
treeaa042f536faf1a766755d570719361e412e4b309
parentea227aa03332e8c40c3b73ccaeef790ab8476c4a (diff)
downloadopenttd-f8b0ddd3eca33be188b90b62c13cecd2c0c18783.tar.xz
(svn r18949) -Fix (r18942): 'reduced plane crashes' were actually 'more plane crashes'
-rw-r--r--src/aircraft_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp
index 12c182975..64bfb04d6 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -1296,7 +1296,7 @@ static void MaybeCrashAirplane(Aircraft *v)
Station *st = Station::Get(v->targetairport);
/* FIXME -- MaybeCrashAirplane -> increase crashing chances of very modern airplanes on smaller than AT_METROPOLITAN airports */
- uint32 prob = (0x40000 >> _settings_game.vehicle.plane_crashes);
+ uint32 prob = (0x4000 << _settings_game.vehicle.plane_crashes);
if ((st->Airport()->flags & AirportFTAClass::SHORT_STRIP) &&
(AircraftVehInfo(v->engine_type)->subtype & AIR_FAST) &&
!_cheats.no_jetcrash.value) {