projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- moved loadshared() to the right point
[supertux.git]
/
src
/
physic.cpp
diff --git
a/src/physic.cpp
b/src/physic.cpp
index
3199199
..
232475d
100644
(file)
--- a/
src/physic.cpp
+++ b/
src/physic.cpp
@@
-79,7
+79,7
@@
Physic::enable_gravity(bool enable_gravity)
}
void
-Physic::apply(float &x, float &y)
+Physic::apply(float
frame_ratio, float
&x, float &y)
{
float gravity = World::current()->get_level()->gravity;
float grav;