From 62813e35a48e65171e4bd0b626e2a7eafe071ada Mon Sep 17 00:00:00 2001 From: grumbel Date: Mon, 22 Feb 2010 18:11:57 +0000 Subject: [PATCH] Use bright red instead of hard to see dark grey for debugging of collision git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6393 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/supertux/sector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/supertux/sector.cpp b/src/supertux/sector.cpp index 2a5fe3db0..aa856975a 100644 --- a/src/supertux/sector.cpp +++ b/src/supertux/sector.cpp @@ -863,13 +863,13 @@ Sector::draw(DrawingContext& context) } if(show_collrects) { - Color col(0.2f, 0.2f, 0.2f, 0.7f); + Color color(1.0f, 0.0f, 0.0f, 0.75f); for(MovingObjects::iterator i = moving_objects.begin(); i != moving_objects.end(); ++i) { MovingObject* object = *i; const Rectf& rect = object->get_bbox(); - context.draw_filled_rect(rect, col, LAYER_FOREGROUND1 + 10); + context.draw_filled_rect(rect, color, LAYER_FOREGROUND1 + 10); } } -- 2.11.0