diff options
Diffstat (limited to 'src/monster.cpp')
-rw-r--r-- | src/monster.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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) |