summaryrefslogtreecommitdiff
path: root/src/engine/fox_beam.c
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-10-16 23:05:53 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-10-16 23:05:53 -0300
commit1f14108143e4ed3c2dde052d46cb1fda00c9511f (patch)
tree757c8ac3d8eee303e6766cc683e388776773eb21 /src/engine/fox_beam.c
parent964bc598221b8c23d70f05e4c2c6b5adfa502029 (diff)
Restore beta bomb explosion
Diffstat (limited to 'src/engine/fox_beam.c')
-rw-r--r--src/engine/fox_beam.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/engine/fox_beam.c b/src/engine/fox_beam.c
index 7defccb2..ae19d6f7 100644
--- a/src/engine/fox_beam.c
+++ b/src/engine/fox_beam.c
@@ -1310,7 +1310,14 @@ void PlayerShot_DrawShot(PlayerShot* shot) {
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, aOrbDL);
} else {
- Matrix_Scale(gGfxMatrix, shot->scale, shot->scale, shot->scale, MTXF_APPLY);
+
+ if (CVarGetInteger("gRestoreBetaBombExplosion", 0) != 1) {
+ Matrix_Scale(gGfxMatrix, shot->scale, shot->scale, shot->scale, MTXF_APPLY);
+ } else {
+ Matrix_Scale(gGfxMatrix, shot->scale / 1.5f, shot->scale / 1.5f, shot->scale / 1.5f,
+ MTXF_APPLY);
+ }
+
Matrix_SetGfxMtx(&gMasterDisp);
if (gVersusMode) {
RCP_SetupDL_49();
@@ -1333,7 +1340,12 @@ void PlayerShot_DrawShot(PlayerShot* shot) {
RCP_SetupDL_64_2();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, shot->unk_58);
}
- gSPDisplayList(gMasterDisp++, D_1031EC0);
+
+ if (CVarGetInteger("gRestoreBetaBombExplosion", 0) != 1) {
+ gSPDisplayList(gMasterDisp++, D_1031EC0);
+ } else {
+ gSPDisplayList(gMasterDisp++, D_102FF90);
+ }
}
break;
case PLAYERSHOT_TANK: