summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-23 21:03:43 +0000
committerrubidium <rubidium@openttd.org>2008-12-23 21:03:43 +0000
commitc3746a55bbee5d1b752411480a6e1abfe0413870 (patch)
tree13bdd9c673e98449442640715abe78de2b568a5e /src/engine.cpp
parentece37ca2c095ff672cd9f6e793da865c9029c83c (diff)
downloadopenttd-c3746a55bbee5d1b752411480a6e1abfe0413870.tar.xz
(svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index f24574a94..3d0907bfb 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -315,7 +315,7 @@ static CompanyID GetBestCompany(uint8 pp)
const Company *c;
int32 best_hist;
CompanyID best_company;
- uint mask = 0;
+ CompanyMask mask = 0;
do {
best_hist = -1;