diff options
author | Treeki <treeki@gmail.com> | 2013-02-12 02:20:23 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-02-12 02:20:23 +0100 |
commit | 629307bf47f6b7097128352999bd789cfeb93402 (patch) | |
tree | fde3b412a563a1768a38de7936a751b45dc9fe2e /src/bossCaptainBowser.cpp | |
parent | bcedcedeba831e4b5199303ccbf565a0f1be170f (diff) | |
download | kamek-629307bf47f6b7097128352999bd789cfeb93402.tar.gz kamek-629307bf47f6b7097128352999bd789cfeb93402.zip |
lotsa fixes and updates to the final battle
Diffstat (limited to '')
-rw-r--r-- | src/bossCaptainBowser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bossCaptainBowser.cpp b/src/bossCaptainBowser.cpp index 2c397da..4867afb 100644 --- a/src/bossCaptainBowser.cpp +++ b/src/bossCaptainBowser.cpp @@ -194,7 +194,7 @@ int daCaptainBowser::onCreate() { this->shipFile.data = getResource("KoopaShip", "g3d/KoopaShip.brres"); nw4r::g3d::ResMdl mdlShip = this->shipFile.GetResMdl("KoopaShip"); shipModel.setup(mdlShip, &allocator, 0x224, 1, 0); - // SetupTextures_MapObj(&shipModel, 0); + SetupTextures_MapObj(&shipModel, 0); nw4r::g3d::ResAnmChr anmChrShip = this->shipFile.GetResAnmChr("KoopaShip"); this->shipAnm.setup(mdlShip, anmChrShip, &this->allocator, 0); @@ -478,7 +478,7 @@ int daCaptainBowser::onDraw() { void daCaptainBowser::executeState_Throw() { if (this->chrAnimation.getCurrentFrame() == 60.0) { // throw back - int num = GenerateRandomNumber(5); + int num = GenerateRandomNumber(4); CreateActor(0x29F, 0x101 + ((num + 1) * 0x10), (Vec){pos.x-146.0, pos.y+122.0, pos.z}, 0, 0); } |