projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b07f95a
)
bug 1001 part: Fix compiler warnings in iSpy
author
Tobias Markus
<tobbi@mozilla-uk.org>
Mon, 19 Aug 2013 00:57:24 +0000
(
02:57
+0200)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Mon, 19 Aug 2013 00:57:24 +0000
(
02:57
+0200)
src/object/ispy.cpp
patch
|
blob
|
history
diff --git
a/src/object/ispy.cpp
b/src/object/ispy.cpp
index
dbdce65
..
fe6f403
100644
(file)
--- a/
src/object/ispy.cpp
+++ b/
src/object/ispy.cpp
@@
-68,9
+68,9
@@
Ispy::line_intersects_line(Vector line1_start, Vector line1_end, Vector line2_st
// normalize to positive numerator
if (num < 0) {
- num =
-
num;
- den1 =
-
den1;
- den2 =
-
den2;
+ num =
-
num;
+ den1 =
-
den1;
+ den2 =
-
den2;
}
// numerator is zero -> Check for parallel or coinciding lines