mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 14:01:26 +00:00
don't draw bounding boxes for freed edicts
This commit is contained in:
parent
9eaeb75fb2
commit
a449780bb8
1 changed files with 2 additions and 2 deletions
|
@ -733,8 +733,8 @@ void R_ShowBoundingBoxes (void)
|
|||
|
||||
for (i=1, ed=NEXT_EDICT(sv.edicts) ; i<sv.num_edicts ; i++, ed=NEXT_EDICT(ed))
|
||||
{
|
||||
if (ed == sv_player)
|
||||
continue; //don't draw player's own bbox
|
||||
if (ed == sv_player || ed->free)
|
||||
continue; //don't draw player's own bbox or freed edicts
|
||||
|
||||
// if (r_showbboxes.value != 2)
|
||||
// if (!SV_VisibleToClient (sv_player, ed, sv.worldmodel))
|
||||
|
|
Loading…
Reference in a new issue