diff options
Diffstat (limited to '')
-rw-r--r-- | src/pumpkinGoomba.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pumpkinGoomba.cpp b/src/pumpkinGoomba.cpp index 426d323..62f4e3f 100644 --- a/src/pumpkinGoomba.cpp +++ b/src/pumpkinGoomba.cpp @@ -74,7 +74,7 @@ dGoombaPie *dGoombaPie::build() { void pieCollisionCallback(ActivePhysics *one, ActivePhysics *two) { if (two->owner->name == EN_KURIBO) { return; } - if (two->owner->name == EN_KURIBO) { return; } + if (two->owner->name == EN_PATA_KURIBO) { return; } dEn_c::collisionCallback(one, two); } @@ -154,11 +154,11 @@ int dGoombaPie::onCreate() { this->resFile.data = getResource("pumpkin", "g3d/model.brres"); nw4r::g3d::ResMdl mdl = this->resFile.GetResMdl("Pumpkin"); bodyModel.setup(mdl, &allocator, 0x224, 1, 0); - SetupTextures_Map(&bodyModel, 0); + // SetupTextures_Map(&bodyModel, 0); mdl = this->resFile.GetResMdl("FX_Pumpkin"); burstModel.setup(mdl, &allocator, 0x224, 1, 0); - SetupTextures_Map(&burstModel, 0); + // SetupTextures_Map(&burstModel, 0); allocator.unlink(); @@ -178,7 +178,7 @@ int dGoombaPie::onCreate() { HitMeBaby.category1 = 0x3; HitMeBaby.category2 = 0x0; HitMeBaby.bitfield1 = 0x01; - HitMeBaby.bitfield2 = 0x80020; + HitMeBaby.bitfield2 = 0x820A0; HitMeBaby.unkShort1C = 0; HitMeBaby.callback = &pieCollisionCallback; @@ -187,7 +187,7 @@ int dGoombaPie::onCreate() { // Remember to follow a goomba - if (settings == 0) { + if ((settings & 0xF) == 0) { Goomber = (dStageActor_c*)create(EN_KURIBO, 0, &pos, &rot, 0); } else { Goomber = (dStageActor_c*)create(EN_PATA_KURIBO, 0, &pos, &rot, 0); } |