projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made SpriteParticle work around possible bug in Sprite::set_action. /
[supertux.git]
/
src
/
object
/
platform.cpp
diff --git
a/src/object/platform.cpp
b/src/object/platform.cpp
index
d6dde0a
..
333fd07
100644
(file)
--- a/
src/object/platform.cpp
+++ b/
src/object/platform.cpp
@@
-83,7
+83,7
@@
Platform::collision(GameObject& other, const CollisionHit& hit)
void
Platform::update(float elapsed_time)
{
- movement = walker->advance(elapsed_time);
+ movement = walker->advance(elapsed_time)
- get_pos()
;
speed = movement / elapsed_time;
}