summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 86695ee61..532e6e2cf 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -714,7 +714,7 @@ void Being::handleAttack(Being *victim, int damage,
if (dir)
setDirection(dir);
}
- if (victim->mType == PLAYER && victim->mAction == SIT)
+ if (damage && victim->mType == PLAYER && victim->mAction == SIT)
victim->setAction(STAND);
sound.playSfx(mInfo->getSound((damage > 0) ?