From 58771baadb7529b0b20ca85566ab2790ca5dcd90 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Fri, 2 Mar 2007 23:29:28 +0000 Subject: Implemented communication of being action changes. --- src/monster.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/monster.cpp') diff --git a/src/monster.cpp b/src/monster.cpp index f2e4d93d..dd4a321c 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -46,7 +46,7 @@ Monster::getType() const } void -Monster::setAction(Uint8 action) +Monster::setAction(Action action) { SpriteAction currentAction = ACTION_INVALID; @@ -70,6 +70,8 @@ Monster::setAction(Uint8 action) case HURT: // Not implemented yet break; + default: + break; } if (currentAction != ACTION_INVALID) -- cgit v1.2.3-70-g09d2