Fixed the shield spawn/special hook cases on the hook add switch.

They basically work now.

Signed-off-by: Nev3r <apophycens@gmail.com>
This commit is contained in:
Nev3r 2018-12-24 17:31:00 +01:00
parent 47a810decb
commit caaacf3f76
1 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,8 @@ static int lib_addHook(lua_State *L)
case hook_JumpSpinSpecial:
case hook_PlayerSpawn:
case hook_FollowMobj:
case hook_ShieldSpawn:
case hook_ShieldSpecial:
lastp = &playerhooks;
break;
case hook_LinedefExecute: