projects
/
universe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refreshed the code to compile without warning.
[universe.git]
/
manipulator.cc
diff --git
a/manipulator.cc
b/manipulator.cc
index
ca6a144
..
d42dfb7
100644
(file)
--- a/
manipulator.cc
+++ b/
manipulator.cc
@@
-117,7
+117,7
@@
void Manipulator::update(scalar_t dt, Universe *universe) {
scalar_t f = sqrt(sq(_force_x) + sq(_force_y));
if(f >= force_break) {
- _current_polygon =
false
;
+ _current_polygon =
0
;
_force_x = 0;
_force_y = 0;
} else {