mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-20 02:42:42 +01:00
Codechange: Pass unpacked command arguments to command callbacks (except Script).
This commit is contained in:
@@ -326,7 +326,7 @@ private:
|
||||
/* Helper functions for DoCommand. */
|
||||
static std::tuple<bool, bool, bool> DoCommandPrep();
|
||||
static bool DoCommandProcessResult(const CommandCost &res, Script_SuspendCallbackProc *callback, bool estimate_only);
|
||||
static CommandCallback *GetDoCommandCallback();
|
||||
static CommandCallbackData *GetDoCommandCallback();
|
||||
};
|
||||
|
||||
namespace ScriptObjectInternal {
|
||||
|
||||
Reference in New Issue
Block a user