diff options
Diffstat (limited to '')
-rw-r--r-- | src/shyguy.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shyguy.cpp b/src/shyguy.cpp index 7e3889d..32928c0 100644 --- a/src/shyguy.cpp +++ b/src/shyguy.cpp @@ -491,7 +491,7 @@ int daShyGuy::onCreate() { this->type = this->settings >> 28 & 0xF; int baln = this->settings >> 24 & 0xF; - // this->distance = this->settings >> 12 & 0xF; + this->distance = this->settings >> 12 & 0xF; stillFalling = 0; @@ -1375,6 +1375,9 @@ bool daShyGuy::willWalkOntoSuitableGround() { SpawnEffect("Wm_en_explosion_ln", 0, &(Vec){this->pos.x, this->pos.y - 32.0, 0}, &(S16Vec){0,0,0}, &(Vec){1.0, 1.0, 1.0}); PlaySound(this, SE_PLY_BALLOON_BRAKE); + if (this->type != 8) + this-distance == 0; + type = 0; } void daShyGuy::executeState_BalloonDrop() { |