mirror of https://github.com/OpenRCT2/OpenRCT2.git
Mark GameActions::Register as static
This commit is contained in:
parent
fd00096b3b
commit
634683d891
|
@ -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 *
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue