summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-03 11:56:29 +0000
committerrubidium <rubidium@openttd.org>2009-09-03 11:56:29 +0000
commitdcf3719ca1de0a3645ded7d893396e866ab97cba (patch)
treefe888cb7be199ff67576f6f07ff551ba6a4c1db7 /src/company_cmd.cpp
parent5607a610d7b5ebb93af90d64ee1a8098fb94df06 (diff)
downloadopenttd-dcf3719ca1de0a3645ded7d893396e866ab97cba.tar.xz
(svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 5d514d06a..e85caca4c 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -57,7 +57,7 @@ Company::Company(uint16 name_1, bool is_ai) :
is_ai(is_ai)
{
for (uint j = 0; j < 4; j++) this->share_owners[j] = COMPANY_SPECTATOR;
- InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, -1);
+ InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, INVALID_COMPANY);
}
Company::~Company()