summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-03-04 09:59:13 -0600
committerColin Noga <Tempus@chronometry.ca>2012-03-04 09:59:13 -0600
commit31fa0c0911000444af0e3b668caf51f061517689 (patch)
tree0c2fd6fb9e31609ee37b1e6ea183da9bd243b937
parentcda9fbf8124818ee91677d86ab9c68e8afaaafd6 (diff)
downloadkamek-31fa0c0911000444af0e3b668caf51f061517689.tar.gz
kamek-31fa0c0911000444af0e3b668caf51f061517689.zip
stupid code
Diffstat (limited to '')
-rw-r--r--src/bossThwompaDomp.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/bossThwompaDomp.cpp b/src/bossThwompaDomp.cpp
index c821e12..3a1b0c7 100644
--- a/src/bossThwompaDomp.cpp
+++ b/src/bossThwompaDomp.cpp
@@ -108,12 +108,12 @@ void daEnMegaDosun_c::setupBodyModel() {
this->resFile.data = getResource("dossun", "g3d/dossun.brres");
nw4r::g3d::ResMdl mdl = this->resFile.GetResMdl("dossun_big");
- bodyModel.setup(mdl, &allocator, 0x224, 1, 0);
+ bodyModel.setup(mdl, &allocator, 0x60, 1, 0);
SetupTextures_Enemy(&bodyModel, 0);
- nw4r::g3d::ResAnmVis anmRes = this->resFile.GetResAnmVis("dossun");
- this->anmVis.setup(mdl, anmRes, &this->allocator, 0);
- this->anmVis.bind(&bodyModel, anmRes, 1);
+ // nw4r::g3d::ResAnmVis anmRes = this->resFile.GetResAnmVis("dossun_big");
+ // this->anmVis.setup(mdl, anmRes, &this->allocator, 0);
+ // this->anmVis.bind(&bodyModel, anmRes, 1);
allocator.unlink();
}
@@ -184,7 +184,8 @@ int daEnMegaDosun_c::onCreate() {
this->doStateChange(&StateID_Grow);
- return 1;
+ this->onExecute();
+ return true;
}