summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-10-03 17:23:41 +0000
committerfrosch <frosch@openttd.org>2011-10-03 17:23:41 +0000
commitdd74536bef66a4e1d214caab38805d0c70acb075 (patch)
treeb63a5d705ca0f724802d0cc2363c99f52a1de70a /src/economy.cpp
parent5be8f732049daa97fd212ed9b91354d3b146d99d (diff)
downloadopenttd-dd74536bef66a4e1d214caab38805d0c70acb075.tar.xz
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index fa626cf94..edc84dc76 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -407,7 +407,6 @@ void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner)
v->colourmap = PAL_NONE;
if (v->IsEngineCountable()) {
- Company::Get(new_owner)->num_engines[v->engine_type]++;
GroupStatistics::CountEngine(v, 1);
}
if (v->IsPrimaryVehicle()) {