From e9ce90588d9649084fbeac0ec016946ecdc0236b Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Sat, 16 Sep 2006 17:13:34 +0000 Subject: Fixed the crash when attacking without a weapon, some additional stability improvements and more descriptive variable names in the parsing algorithmn. --- src/animatedsprite.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/animatedsprite.h') 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 }; /** -- cgit v1.2.3-60-g2f50