summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-09-08 13:45:26 +0000
committeryexo <yexo@openttd.org>2010-09-08 13:45:26 +0000
commit1ba35972e604d1a5ab34c7b29384c5a13618fdc0 (patch)
tree3a9eae3528a5e4972e4cccd198c2decf0a405022
parenta09bc6c366a5e8f174a70f63064fd0b7771d22b4 (diff)
downloadopenttd-1ba35972e604d1a5ab34c7b29384c5a13618fdc0.tar.xz
(svn r20765) -Fix (r17345): AIEventCompanyAskMerger was disguised as AIEventCompanyMerger (fanioz)
-rw-r--r--src/ai/api/ai_event_types.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp
index 7be1136e3..da6b54983 100644
--- a/src/ai/api/ai_event_types.hpp
+++ b/src/ai/api/ai_event_types.hpp
@@ -379,7 +379,7 @@ public:
* @param value The value/costs of buying the company.
*/
AIEventCompanyAskMerger(Owner owner, int32 value) :
- AIEvent(AI_ET_COMPANY_MERGER),
+ AIEvent(AI_ET_COMPANY_ASK_MERGER),
owner((AICompany::CompanyID)owner),
value(value)
{}