summaryrefslogtreecommitdiff
path: root/src/aircraft_cmd.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-25 15:35:25 +0000
committerskidd13 <skidd13@openttd.org>2007-11-25 15:35:25 +0000
commitbdc7fd2d765b84dc17415ecda0bef31471befa91 (patch)
tree169a43d7faea93613e95fcd0c3221376b8fbfc11 /src/aircraft_cmd.cpp
parent2bf2be987d414e2d80a20b7ace9ad9bde90fc7b8 (diff)
downloadopenttd-bdc7fd2d765b84dc17415ecda0bef31471befa91.tar.xz
(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
Diffstat (limited to 'src/aircraft_cmd.cpp')
-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 fb455d1b8..96276611b 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -1255,7 +1255,7 @@ static void HandleCrashedAircraft(Vehicle *v)
if (v->u.air.crashed_counter < 650) {
uint32 r;
- if (CHANCE16R(1,32,r)) {
+ if (Chance16R(1,32,r)) {
static const DirDiff delta[] = {
DIRDIFF_45LEFT, DIRDIFF_SAME, DIRDIFF_SAME, DIRDIFF_45RIGHT
};