Rename HOOK_TYPE and its members

This commit is contained in:
Gymnasiast committed 2025-03-26 12:16:47 +01:00
1 parent 867b69a0f6
commit eaaba9fbfb
12 files changed
+90 -90

No files matched your search

+1 -1
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);