Skip to content
Snippets Groups Projects
Commit bdd02b07 authored by Ace Lite's avatar Ace Lite
Browse files

Intertype added into hook arguments

parent 54f52418
No related branches found
No related tags found
No related merge requests found
Pipeline #3081 passed
......@@ -17,6 +17,7 @@
#include "r_skins.h"
#include "b_bot.h"
#include "z_zone.h"
#include "y_inter.h"
#include "lua_script.h"
#include "lua_libs.h"
......@@ -1068,6 +1069,7 @@ int LUA_HookIntermissionThinker(boolean pstagefailed, INT32 intertic, INT32 tall
lua_pushinteger(gL, intertic);
lua_pushinteger(gL, tallydonetic);
lua_pushinteger(gL, endtic);
lua_pushinteger(gL, intertype);
call_hooks(&hook, 1, res_force);
}
return hook.status;
......
......@@ -1515,6 +1515,6 @@ void LUA_SetHudHook(int hook, huddrawlist_h list)
lua_pushinteger(gL, interlasttic);
lua_pushinteger(gL, interlasttallyendtic);
lua_pushinteger(gL, interlastendtic);
lua_pushinteger(gL, intertype);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment