Skip to content

Commit

Permalink
Client: Disallow dev-mobj-bbox in non-debug netgames
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 28, 2011
1 parent f535c02 commit d15668b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doomsday/engine/portable/src/rend_main.c
Expand Up @@ -4265,9 +4265,14 @@ static void Rend_RenderBoundingBoxes(void)
material_t* mat;
material_snapshot_t ms;

if((!devMobjBBox && !devPolyobjBBox)/* || netGame*/)
if(!devMobjBBox && !devPolyobjBBox)
return;

#ifndef _DEBUG
// Bounding boxes are not allowed in non-debug netgames.
if(netGame) return;
#endif

if(!dlBBox)
dlBBox = constructBBox(0, .08f);

Expand Down

0 comments on commit d15668b

Please sign in to comment.