mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-13 07:21:31 +00:00
Fix off-by-one error in R_ShowBoundingBoxes
This commit is contained in:
parent
4aa8a76d80
commit
9eaeb75fb2
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@ void R_ShowBoundingBoxes (void)
|
||||||
glDisable (GL_CULL_FACE);
|
glDisable (GL_CULL_FACE);
|
||||||
glColor3f (1,1,1);
|
glColor3f (1,1,1);
|
||||||
|
|
||||||
for (i=0, ed=NEXT_EDICT(sv.edicts) ; i<sv.num_edicts ; i++, ed=NEXT_EDICT(ed))
|
for (i=1, ed=NEXT_EDICT(sv.edicts) ; i<sv.num_edicts ; i++, ed=NEXT_EDICT(ed))
|
||||||
{
|
{
|
||||||
if (ed == sv_player)
|
if (ed == sv_player)
|
||||||
continue; //don't draw player's own bbox
|
continue; //don't draw player's own bbox
|
||||||
|
|
Loading…
Reference in a new issue