1
0
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:
Gymnasiast
2025-03-26 12:16:47 +01:00
parent 867b69a0f6
commit eaaba9fbfb
12 changed files with 90 additions and 90 deletions

View File

@@ -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);