Feature: allow to do a hostile takeover of an AI company (in singleplayer) (#10914)
With the removal of the share-system, you could no longer make an AI disappear in a single player game. At least, not without going into the console.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include "command_type.h"
|
||||
#include "company_type.h"
|
||||
|
||||
CommandCost CmdBuyCompany(DoCommandFlag flags, CompanyID target_company);
|
||||
CommandCost CmdBuyCompany(DoCommandFlag flags, CompanyID target_company, bool hostile_takeover);
|
||||
|
||||
DEF_CMD_TRAIT(CMD_BUY_COMPANY, CmdBuyCompany, 0, CMDT_MONEY_MANAGEMENT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user