diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-11 02:34:29 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-11 02:34:29 -0500 |
commit | c6461149389ec807371b9692b7484ab108e2a068 (patch) | |
tree | 5d2624e4d61ab5f4e8c1472fcb6733d612d4e071 /src/bossPodouble.cpp | |
parent | ab412589662152c99c1653be980136912bcde4f3 (diff) | |
download | kamek-c6461149389ec807371b9692b7484ab108e2a068.tar.gz kamek-c6461149389ec807371b9692b7484ab108e2a068.zip |
Plenty of bugfixes, and bowser improvements
Diffstat (limited to '')
-rw-r--r-- | src/bossPodouble.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bossPodouble.cpp b/src/bossPodouble.cpp index c6eb99b..5d41a5c 100644 --- a/src/bossPodouble.cpp +++ b/src/bossPodouble.cpp @@ -557,15 +557,11 @@ int daPodouble::onDraw() { /////////////// void daPodouble::beginState_Outro() { - daPodouble *other = (daPodouble*)FindActorByType(SHIP_WINDOW, (Actor*)this); - if (other != 0) { - other->doStateChange(&StateID_SyncDie); - + daPodouble *other = (daPodouble*)FindActorByType(SHIP_WINDOW, 0); if (other->id == this->id) { - other = (daPodouble*)FindActorByType(SHIP_WINDOW, (Actor*)other); + other = (daPodouble*)FindActorByType(SHIP_WINDOW, (Actor*)this); other->doStateChange(&StateID_SyncDie); } - } OutroSetup(this); this->timer = 0; |