(svn r23387) -Fix: move ai.script_max_opcode_till_suspend to script.script_max_opcode_till_suspend
This commit is contained in:
@@ -257,7 +257,11 @@ struct AISettings {
|
||||
bool ai_disable_veh_roadveh; ///< disable types for AI
|
||||
bool ai_disable_veh_aircraft; ///< disable types for AI
|
||||
bool ai_disable_veh_ship; ///< disable types for AI
|
||||
uint32 ai_max_opcode_till_suspend; ///< max opcode calls till AI will suspend
|
||||
};
|
||||
|
||||
/** Settings related to scripts. */
|
||||
struct ScriptSettings {
|
||||
uint32 script_max_opcode_till_suspend; ///< max opcode calls till scripts will suspend
|
||||
};
|
||||
|
||||
/** Settings related to the old pathfinder. */
|
||||
@@ -447,6 +451,7 @@ struct GameSettings {
|
||||
GameCreationSettings game_creation; ///< settings used during the creation of a game (map)
|
||||
ConstructionSettings construction; ///< construction of things in-game
|
||||
AISettings ai; ///< what may the AI do?
|
||||
ScriptSettings script; ///< settings for scripts
|
||||
class AIConfig *ai_config[MAX_COMPANIES]; ///< settings per company
|
||||
PathfinderSettings pf; ///< settings for all pathfinders
|
||||
OrderSettings order; ///< settings related to orders
|
||||
|
Reference in New Issue
Block a user