mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-01 19:25:12 +01:00
Rename HOOK_TYPE and its members
This commit is contained in:
@@ -1460,7 +1460,7 @@ void ScriptEngine::RunGameActionHooks(const GameAction& action, GameActions::Res
|
||||
{
|
||||
DukStackFrame frame(_context);
|
||||
|
||||
auto hookType = isExecute ? HOOK_TYPE::ACTION_EXECUTE : HOOK_TYPE::ACTION_QUERY;
|
||||
auto hookType = isExecute ? HookType::actionExecute : HookType::actionQuery;
|
||||
if (_hookEngine.HasSubscriptions(hookType))
|
||||
{
|
||||
DukObject obj(_context);
|
||||
|
||||
Reference in New Issue
Block a user