diff --git a/cm_changelog.txt b/cm_changelog.txt index 8bd8f11ad8..f3d769dfd7 100644 --- a/cm_changelog.txt +++ b/cm_changelog.txt @@ -76,6 +76,7 @@ This is usable for any OpenTTD servers *** 14.0 *** - Fixed graphs with cargo selection. - Fixed measurement tooltips. +- Fixed n-ice community login by Chucky and iSoSyS. - Show the number of hidden vehicles in buy and autoreplace windows. - Added a setting to disable activate-on-release behaviour of toolbar dropdown buttons. - Added Russian translation. diff --git a/gen_commands.py b/gen_commands.py index ca98efa82c..03dafe6d53 100644 --- a/gen_commands.py +++ b/gen_commands.py @@ -8,19 +8,20 @@ RX_COMMAND = re.compile(r'(?PCommandCost|std::tuple]*> RX_DEF_TRAIT = re.compile(r'DEF_CMD_TRAIT\((?P\w+),\s+(?P\w+),\s+(?P[^,]*),\s+(?P\w+)\)') RX_ARG = re.compile(r'(?P(:?const |)[\w:]* &?)(?P\w*)') RX_CALLBACK = re.compile(r'void\s+(?PCc\w+)\(Commands') -RX_CALLBACK_REF = re.compile(r'CommandCallback\s+(?PCc\w+);') +RX_CALLBACK_REF = re.compile(r'CommandCallback(?:Data|)\s+(?PCc\w+);') RX_CAMEL_TO_SNAKE = re.compile(r'(?; diff --git a/src/citymania/generated/cm_gen_commands.hpp b/src/citymania/generated/cm_gen_commands.hpp index 9352b3377b..9f48e08f54 100644 --- a/src/citymania/generated/cm_gen_commands.hpp +++ b/src/citymania/generated/cm_gen_commands.hpp @@ -41,6 +41,7 @@ #include "../../engine_cmd.h" #include "../../tunnelbridge_cmd.h" #include "../../group_cmd.h" +#include "../../script_cmd.h" namespace citymania { namespace cmd {