diff options
author | frosch <frosch@openttd.org> | 2013-06-28 19:20:45 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-06-28 19:20:45 +0000 |
commit | 934f4decba5fe24f761187e1c385ed63b2403bba (patch) | |
tree | eaa8da8dab26fae0d8f5b573000907cdb2c0e36e | |
parent | d3ccc7c1948e9a4b91c97bf8a430be19ffba1c43 (diff) | |
download | openttd-934f4decba5fe24f761187e1c385ed63b2403bba.tar.xz |
(svn r25497) -Fix (r25479): byte is not unit
-rw-r--r-- | src/economy.cpp | 2 |
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(); |