diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2006-09-16 17:13:34 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2006-09-16 17:13:34 +0000 |
commit | e9ce90588d9649084fbeac0ec016946ecdc0236b (patch) | |
tree | bda12c266e88bccd695380a527dd0f683ee5deba /src/animatedsprite.h | |
parent | 3dd5378899a9bf12b3c17ff39d9390155a5a49d2 (diff) | |
download | mana-e9ce90588d9649084fbeac0ec016946ecdc0236b.tar.gz mana-e9ce90588d9649084fbeac0ec016946ecdc0236b.tar.bz2 mana-e9ce90588d9649084fbeac0ec016946ecdc0236b.tar.xz mana-e9ce90588d9649084fbeac0ec016946ecdc0236b.zip |
Fixed the crash when attacking without a weapon, some additional stability improvements and more descriptive variable names in the parsing algorithmn.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h index 7ca87237..ea661d94 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -56,10 +56,12 @@ enum SpriteAction enum SpriteDirection { - DIRECTION_DOWN = 0, + DIRECTION_DEFAULT = 0, + DIRECTION_DOWN, DIRECTION_UP, DIRECTION_LEFT, - DIRECTION_RIGHT + DIRECTION_RIGHT, + DIRECTION_INVALID }; /** |