summaryrefslogtreecommitdiff
path: root/src/thundercloud.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/thundercloud.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thundercloud.cpp b/src/thundercloud.cpp
index ad01391..387b395 100755
--- a/src/thundercloud.cpp
+++ b/src/thundercloud.cpp
@@ -282,7 +282,7 @@ int dThunderCloud::onExecute() {
bodyModel._vf1C();
if ((dFlagMgr_c::instance->flags & this->eventFlag) && (!stationary)) {
- 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;