1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Mark GameActions::Register as static

This commit is contained in:
Michał Janiszewski
2017-04-17 21:48:54 +02:00
committed by Michał Janiszewski
parent fd00096b3b
commit 634683d891

View File

@@ -122,7 +122,7 @@ namespace GameActions
GameActionResult Execute(const IGameAction * action, uint32 flags = 0, GameActionCallback callback = nullptr);
template<typename T>
GameActionFactory Register(uint32 id)
static GameActionFactory Register(uint32 id)
{
GameActionFactory factory = []() -> IGameAction *
{