diff --git a/src/openrct2/actions/GameAction.h b/src/openrct2/actions/GameAction.h index 60a5218a05..f981aaa4ed 100644 --- a/src/openrct2/actions/GameAction.h +++ b/src/openrct2/actions/GameAction.h @@ -122,7 +122,7 @@ namespace GameActions GameActionResult Execute(const IGameAction * action, uint32 flags = 0, GameActionCallback callback = nullptr); template - GameActionFactory Register(uint32 id) + static GameActionFactory Register(uint32 id) { GameActionFactory factory = []() -> IGameAction * {