mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
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:
commit
b92d66a54c
1 changed files with 1 additions and 1 deletions
|
@ -1594,7 +1594,7 @@ boolean LUAh_SeenPlayer(player_t *player, player_t *seenfriend)
|
||||||
hook_p hookp;
|
hook_p hookp;
|
||||||
boolean hasSeenPlayer = true;
|
boolean hasSeenPlayer = true;
|
||||||
if (!gL || !(hooksAvailable[hook_SeenPlayer/8] & (1<<(hook_SeenPlayer%8))))
|
if (!gL || !(hooksAvailable[hook_SeenPlayer/8] & (1<<(hook_SeenPlayer%8))))
|
||||||
return 0;
|
return true;
|
||||||
|
|
||||||
lua_settop(gL, 0);
|
lua_settop(gL, 0);
|
||||||
hud_running = true; // local hook
|
hud_running = true; // local hook
|
||||||
|
|
Loading…
Reference in a new issue