summaryrefslogtreecommitdiff
path: root/src/bossCaptainBowser.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-12 02:20:23 +0100
committerTreeki <treeki@gmail.com>2013-02-12 02:20:23 +0100
commit629307bf47f6b7097128352999bd789cfeb93402 (patch)
treefde3b412a563a1768a38de7936a751b45dc9fe2e /src/bossCaptainBowser.cpp
parentbcedcedeba831e4b5199303ccbf565a0f1be170f (diff)
downloadkamek-629307bf47f6b7097128352999bd789cfeb93402.tar.gz
kamek-629307bf47f6b7097128352999bd789cfeb93402.zip
lotsa fixes and updates to the final battle
Diffstat (limited to '')
-rw-r--r--src/bossCaptainBowser.cpp4
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);
}