projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed a warning that prevented the game from compiling
[supertux.git]
/
src
/
physic.hpp
diff --git
a/src/physic.hpp
b/src/physic.hpp
index
037d85e
..
3922180
100644
(file)
--- a/
src/physic.hpp
+++ b/
src/physic.hpp
@@
-81,9
+81,9
@@
private:
float ax, ay;
/// horizontal and vertical velocity
float vx, vy;
float ax, ay;
/// horizontal and vertical velocity
float vx, vy;
- /// should we respect gravity in ou
t
calculations?
+ /// should we respect gravity in ou
r
calculations?
bool gravity_enabled_flag;
bool gravity_enabled_flag;
- /// current gravity to apply to object, if enabled
+ /// current gravity
(multiplied by 100)
to apply to object, if enabled
float gravity;
};
float gravity;
};