summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-06-28 19:20:45 +0000
committerfrosch <frosch@openttd.org>2013-06-28 19:20:45 +0000
commit934f4decba5fe24f761187e1c385ed63b2403bba (patch)
treeeaa8da8dab26fae0d8f5b573000907cdb2c0e36e /src/economy.cpp
parentd3ccc7c1948e9a4b91c97bf8a430be19ffba1c43 (diff)
downloadopenttd-934f4decba5fe24f761187e1c385ed63b2403bba.tar.xz
(svn r25497) -Fix (r25479): byte is not unit
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 77017461f..ca276570e 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1258,7 +1258,7 @@ void PrepareUnload(Vehicle *front_v)
static uint GetLoadAmount(Vehicle *v)
{
const Engine *e = v->GetEngine();
- byte load_amount = e->info.load_amount;
+ uint load_amount = e->info.load_amount;
/* The default loadamount for mail is 1/4 of the load amount for passengers */
bool air_mail = v->type == VEH_AIRCRAFT && !Aircraft::From(v)->IsNormalAircraft();