mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-23 10:41:51 +00:00
Update file lua_baselib.c
This commit is contained in:
parent
20d02d35e4
commit
7208f34e68
1 changed files with 6 additions and 0 deletions
|
@ -722,6 +722,12 @@ static int lib_pSpawnLockOn(lua_State *L)
|
|||
visual->flags2 |= MF2_DONTDRAW;
|
||||
visual->drawonlyforplayer = player; // Hide it from the other player in splitscreen, and yourself when spectating
|
||||
P_SetMobjStateNF(visual, state);
|
||||
|
||||
// This is also handled in P_SceneryThinker, but we want to set it here
|
||||
// so we dont get any weird interp. lag as it properly scales -luigi budd
|
||||
P_SetScale(visual, lockon->scale, false);
|
||||
visual->destscale = lockon->destscale;
|
||||
visual->old_scale = lockon->old_scale;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue