diff --git a/src/openrct2/actions/GameAction.h b/src/openrct2/actions/GameAction.h index 474d8fbf84..c8429efb7d 100644 --- a/src/openrct2/actions/GameAction.h +++ b/src/openrct2/actions/GameAction.h @@ -252,13 +252,6 @@ public: return GameActionNameQuery::Name(); } - void SetCallback(std::function typedCallback) - { - GameAction::SetCallback([typedCallback](const GameAction* ga, const GameActions::Result* result) { - typedCallback(ga, static_cast(result)); - }); - } - protected: template static constexpr std::unique_ptr MakeResult(TTypes&&... args) {