diff options
author | rubidium <rubidium@openttd.org> | 2008-12-23 21:03:43 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-23 21:03:43 +0000 |
commit | e6ff168508515ba4bf130106f100654d65685fd2 (patch) | |
tree | 13bdd9c673e98449442640715abe78de2b568a5e /src/engine.cpp | |
parent | 2b5362de131afa3cca4d4139096f1b92d268bd4d (diff) | |
download | openttd-e6ff168508515ba4bf130106f100654d65685fd2.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.cpp | 2 |
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; |