From 93f359bfe69f70e164b3b0dade0a57bfd9069717 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Thu, 30 May 2013 17:04:54 -0500 Subject: shy guy fix, and minor hard mode tweak --- src/shyguy.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/shyguy.cpp') 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() { -- cgit v1.2.3