projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a736c03
)
Fix issue with action not being updated when typing grow()/fire()/etc in console...
author
Ryan Flegel
<rflegel@gmail.com>
Mon, 16 Jun 2008 23:46:24 +0000
(23:46 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Mon, 16 Jun 2008 23:46:24 +0000
(23:46 +0000)
SVN-Revision: 5578
src/object/player.cpp
patch
|
blob
|
history
diff --git
a/src/object/player.cpp
b/src/object/player.cpp
index
6e9245f
..
951fb71
100644
(file)
--- a/
src/object/player.cpp
+++ b/
src/object/player.cpp
@@
-1010,6
+1010,9
@@
Player::draw(DrawingContext& context)
else
sprite->set_action(sa_prefix+((dir == LEFT)?"-" + IDLE_STAGES[idle_stage] + "-left":"-" + IDLE_STAGES[idle_stage] + "-right"));
}
+ else {
+ sprite->set_action_continued(sa_prefix+((dir == LEFT)?"-" + IDLE_STAGES[idle_stage] + "-left":"-" + IDLE_STAGES[idle_stage] + "-right"));
+ }
}
else {
sprite->set_action(sa_prefix+((dir == LEFT)?"-walk-left":"-walk-right"));