mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
use same Cvar than 3D drops item
This commit is contained in:
parent
5fd0100ad0
commit
fb270dbab9
3 changed files with 5 additions and 6 deletions
|
@ -127,7 +127,7 @@ void func_80ABBBA8(EnNutsball* this, GlobalContext* globalCtx) {
|
|||
|
||||
this->collider.info.toucher.dmgFlags = 2;
|
||||
Matrix_MtxFToYXZRotS(&player->shieldMf, &sp4C, 0);
|
||||
if (CVar_GetS32("gNewProjectiles", 0) != 0) {
|
||||
if (CVar_GetS32("gNewDrops", 0) != 0) {
|
||||
this->actor.world.rot.z = sp4C.y + 0x8000;
|
||||
} else {
|
||||
this->actor.world.rot.y = sp4C.y + 0x8000;
|
||||
|
@ -176,7 +176,7 @@ void EnNutsball_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_nutsball.c", 327);
|
||||
|
||||
if (CVar_GetS32("gNewProjectiles", 0) != 0) {
|
||||
if (CVar_GetS32("gNewDrops", 0) != 0) {
|
||||
func_80093D18(globalCtx->state.gfxCtx);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08,
|
||||
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 1 * (globalCtx->state.frames * 6),
|
||||
|
|
|
@ -714,7 +714,7 @@ void EnOkuta_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
} else {
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_okuta.c", 1653);
|
||||
|
||||
if (CVar_GetS32("gNewProjectiles", 0) != 0) {
|
||||
if (CVar_GetS32("gNewDrops", 0) != 0) {
|
||||
func_80093D18(globalCtx->state.gfxCtx);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08,
|
||||
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 1 * (globalCtx->state.frames * 6),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue