]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
r_showbboxes now shows SOLID_CORPSE as orange
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 7 Dec 2011 13:17:06 +0000 (13:17 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 7 Dec 2011 13:17:06 +0000 (13:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11600 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 566c0b8a9be94d009526493990eff68777e6e66c..5da1769f3addc1b9041724b989bd14e05fe55e03 100644 (file)
@@ -7290,6 +7290,7 @@ static void R_DrawEntityBBoxes_Callback(const entity_render_t *ent, const rtligh
                        case SOLID_BBOX:     Vector4Set(color, 0, 1, 0, 0.10);break;
                        case SOLID_SLIDEBOX: Vector4Set(color, 1, 0, 0, 0.10);break;
                        case SOLID_BSP:      Vector4Set(color, 0, 0, 1, 0.05);break;
+                       case SOLID_CORPSE:   Vector4Set(color, 1, 0.5, 0, 0.05);break;
                        default:             Vector4Set(color, 0, 0, 0, 0.50);break;
                }
                color[3] *= r_showbboxes.value;