diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-11-28 22:43:38 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-12-16 22:28:32 +0100 |
commit | 850385465543a9bd589084ec2ac6b0693c481fea (patch) | |
tree | fa0d375d36e946caee2c4ebc6a8ecd4e35f33d5b /src/game/game_instance.cpp | |
parent | d85348b1d1b9aa7099255eda7c1058f9749d1003 (diff) | |
download | openttd-850385465543a9bd589084ec2ac6b0693c481fea.tar.xz |
Codechange: Pass unpacked command arguments to command callbacks (except Script).
Diffstat (limited to 'src/game/game_instance.cpp')
-rw-r--r-- | src/game/game_instance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp index 8433567c7..fa44ee97c 100644 --- a/src/game/game_instance.cpp +++ b/src/game/game_instance.cpp @@ -93,7 +93,7 @@ void CcGame(Commands cmd, const CommandCost &result, TileIndex tile, const Comma } } -CommandCallback *GameInstance::GetDoCommandCallback() +CommandCallbackData *GameInstance::GetDoCommandCallback() { return &CcGame; } |