projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completed airflower powerup abilities.
[supertux.git]
/
src
/
worldmap
/
tux.cpp
diff --git
a/src/worldmap/tux.cpp
b/src/worldmap/tux.cpp
index
561be82
..
d54c650
100644
(file)
--- a/
src/worldmap/tux.cpp
+++ b/
src/worldmap/tux.cpp
@@
-70,6
+70,12
@@
Tux::draw(DrawingContext& context)
case ICE_BONUS:
sprite->set_action(moving ? "ice-walking" : "ice-stop");
break;
case ICE_BONUS:
sprite->set_action(moving ? "ice-walking" : "ice-stop");
break;
+ case AIR_BONUS:
+ sprite->set_action(moving ? "ice-walking" : "ice-stop");
+ break;
+ case EARTH_BONUS:
+ sprite->set_action(moving ? "fire-walking" : "fire-stop");
+ break;
case NO_BONUS:
sprite->set_action(moving ? "small-walking" : "small-stop");
break;
case NO_BONUS:
sprite->set_action(moving ? "small-walking" : "small-stop");
break;