(svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game
This commit is contained in:
@@ -896,6 +896,10 @@ CommandCost CmdCompanyCtrl(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
|
||||
default: return CMD_ERROR;
|
||||
}
|
||||
|
||||
InvalidateWindowClassesData(WC_GAME_OPTIONS);
|
||||
InvalidateWindowClassesData(WC_AI_SETTINGS);
|
||||
InvalidateWindowClassesData(WC_AI_LIST);
|
||||
|
||||
return CommandCost();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user