projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed DrawingContext::draw_surface_part() to handle srcrect/dstrect, instead of...
[supertux.git]
/
src
/
supertux
/
collision.cpp
diff --git
a/src/supertux/collision.cpp
b/src/supertux/collision.cpp
index
95fbbbb
..
4e1c601
100644
(file)
--- a/
src/supertux/collision.cpp
+++ b/
src/supertux/collision.cpp
@@
-54,7
+54,7
@@
bool rectangle_aatriangle(Constraints* constraints, const Rectf& rect,
return false;
Vector normal;
- float c;
+ float c
= 0.0
;
Vector p1;
Rectf area;
switch(triangle.dir & AATriangle::DEFORM_MASK) {