Merge branch 'seenames-fix' into 'master'

Fix seenames not working without a SeenPlayer hook

See merge request STJr/SRB2!799
This commit is contained in:
James R 2020-02-18 21:53:28 -05:00
commit b92d66a54c
1 changed files with 1 additions and 1 deletions

View File

@ -1594,7 +1594,7 @@ boolean LUAh_SeenPlayer(player_t *player, player_t *seenfriend)
hook_p hookp;
boolean hasSeenPlayer = true;
if (!gL || !(hooksAvailable[hook_SeenPlayer/8] & (1<<(hook_SeenPlayer%8))))
return 0;
return true;
lua_settop(gL, 0);
hud_running = true; // local hook