Allow both Execute hooks in UDMF

This commit is contained in:
NepDisk 2025-05-10 06:26:51 -04:00
parent 16b4ea9b6f
commit d69c999890

View file

@ -3459,9 +3459,12 @@ boolean P_ProcessSpecial(activator_t *activator, INT16 special, INT32 *args, cha
if (stringargs[0])
{
if (line && !udmf)
if (line && mo && callsec)
{
// Allow running the old hook as well.
LUA_HookLinedefExecute(line, mo, callsec);
else
}
LUA_HookSpecialExecute(activator, args, stringargs);
}
else