projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor #include optimization
[supertux.git]
/
src
/
object
/
scripted_object.cpp
diff --git
a/src/object/scripted_object.cpp
b/src/object/scripted_object.cpp
index
b3c1158
..
eadcc43
100644
(file)
--- a/
src/object/scripted_object.cpp
+++ b/
src/object/scripted_object.cpp
@@
-193,7
+193,7
@@
ScriptedObject::collision_solid(const CollisionHit& hit)
if(physic.get_velocity_y() > 0)
physic.set_velocity_y(0);
} else if(hit.top) {
- physic.set_velocity_y(.1);
+ physic.set_velocity_y(.1
f
);
}
if(hit.left || hit.right) {