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:
committed by
Michał Janiszewski
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 *
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user