fix nuts reflect, I mean Deku nuts...

This commit is contained in:
Baoulettes
2022-05-28 22:00:12 +02:00
committed by GitHub
parent fb270dbab9
commit a35c4abc30

View File

@@ -127,11 +127,7 @@ void func_80ABBBA8(EnNutsball* this, GlobalContext* globalCtx) {
this->collider.info.toucher.dmgFlags = 2;
Matrix_MtxFToYXZRotS(&player->shieldMf, &sp4C, 0);
if (CVar_GetS32("gNewDrops", 0) != 0) {
this->actor.world.rot.z = sp4C.y + 0x8000;
} else {
this->actor.world.rot.y = sp4C.y + 0x8000;
}
this->actor.world.rot.y = sp4C.y + 0x8000;
this->timer = 30;
return;
}