From 8f0baae495ade1b065d73875092a3bb479787ada Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Fri, 23 Sep 2011 02:22:37 -0500 Subject: Added FuzzyBear and some fixes to Mr.sun --- src/mrsun.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/mrsun.cpp') diff --git a/src/mrsun.cpp b/src/mrsun.cpp index 88dd7fd..19b5902 100755 --- a/src/mrsun.cpp +++ b/src/mrsun.cpp @@ -88,6 +88,7 @@ void daMrSun_c::collisionCat2_IceBall_15_YoshiIce(ActivePhysics *apThis, ActiveP OSReport("Hit Iceball"); if (this->settings == 0) { // It's a sun if (this->sunDying == 5) { + this->isDead = 1; doStateChange(&StateID_DieIceVanish); } else { this->sunDying = this->sunDying + 1; } @@ -111,7 +112,7 @@ void daMrSun_c::dieFall_Execute() { this->dying = this->dying + 0.15; this->pos.x = this->pos.x + 0.15; - this->pos.y = this->pos.y + ((-0.2 * (this->dying*this->dying)) + 5); + this->pos.y = this->pos.y - ((-0.2 * (this->dying*this->dying)) + 5); this->dEn_c::dieFall_Execute(); @@ -202,7 +203,7 @@ int daMrSun_c::onCreate() { this->timer = 0; this->xSpiralOffset = 0.0; this->ySpiralOffset = 0.0; - this->dying = -15; + this->dying = -5; this->sunDying = 0; this->pos.z = 3300.00; @@ -272,7 +273,7 @@ void daMrSun_c::beginState_Follow() { this->timer = 0; this->rot.x = 18000; this->rot.y = 0; -// this->rot.z = 18000; + this->rot.z = 0; } void daMrSun_c::executeState_Follow() { -- cgit v1.2.3