summaryrefslogtreecommitdiff
path: root/src/mrsun.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/mrsun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mrsun.cpp b/src/mrsun.cpp
index 1ccfdc9..267456a 100755
--- a/src/mrsun.cpp
+++ b/src/mrsun.cpp
@@ -253,7 +253,7 @@ int daMrSun_c::onExecute() {
updateModelMatrices();
if (dFlagMgr_c::instance->flags & this->eventFlag) {
- if (this->killFlag == 0) {
+ if (this->killFlag == 0 && acState.getCurrentState()->isNotEqual(&StateID_DieFall)) {
this->kill();
this->pos.y = this->pos.y + 800.0;
this->killFlag = 1;