projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f7e80
)
Use bright red instead of hard to see dark grey for debugging of collision
author
Ingo Ruhnke
<grumbel@gmx.de>
Mon, 22 Feb 2010 18:11:57 +0000
(18:11 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Mon, 22 Feb 2010 18:11:57 +0000
(18:11 +0000)
SVN-Revision: 6393
src/supertux/sector.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/sector.cpp
b/src/supertux/sector.cpp
index
2a5fe3d
..
aa85697
100644
(file)
--- 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.7
f);
+ Color col
or(1.0f, 0.0f, 0.0f, 0.75
f);
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, col
or
, LAYER_FOREGROUND1 + 10);
}
}