diff options
Diffstat (limited to 'src/bossBombDrop.cpp')
-rw-r--r-- | src/bossBombDrop.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bossBombDrop.cpp b/src/bossBombDrop.cpp index b8e4204..f96c557 100644 --- a/src/bossBombDrop.cpp +++ b/src/bossBombDrop.cpp @@ -199,6 +199,8 @@ dBombDrop *dBombDrop::build() { } +bool HackyBombDropVariable = false; + int dBombDrop::onCreate() { int t = this->settings & 0xF; @@ -215,11 +217,12 @@ int dBombDrop::onCreate() { dFlagMgr_c::instance->set(eventA, 0, false, false, false); dFlagMgr_c::instance->set(eventB, 0, false, false, false); + + HackyBombDropVariable = false; return true; } - int dBombDrop::onDelete() { return true; } int dBombDrop::onDraw() { return true; } @@ -230,6 +233,7 @@ int dBombDrop::onExecute() { active = dFlagMgr_c::instance->active(eventA); if (active) { create(WM_SMALLCLOUD, 0, &pos , &rot, 0); + HackyBombDropVariable = true; dFlagMgr_c::instance->set(eventA, 0, false, false, false); dFlagMgr_c::instance->set(eventA+1, 0, true, false, false); } @@ -237,6 +241,7 @@ int dBombDrop::onExecute() { active = dFlagMgr_c::instance->active(eventB); if (active) { create(WM_SMALLCLOUD, 0, &pos, &rot, 0); + HackyBombDropVariable = true; dFlagMgr_c::instance->set(eventB, 0, false, false, false); dFlagMgr_c::instance->set(eventB+1, 0, true, false, false); } |