diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-19 20:17:13 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-19 20:17:13 -0400 |
| commit | 99c78680de41fc627ec5d2737b2639605e87ae32 (patch) | |
| tree | a3e5eb7c03f1de53dc6a0461d88527a6f1b8fd05 /src/d/actor/d_a_pirate_flag.cpp | |
| parent | 6610bf1d1ca48bacda8fcbe3803a7c3b8c6cf214 (diff) | |
Fix version defines
Diffstat (limited to 'src/d/actor/d_a_pirate_flag.cpp')
| -rw-r--r-- | src/d/actor/d_a_pirate_flag.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_pirate_flag.cpp b/src/d/actor/d_a_pirate_flag.cpp index 33a179f6..80ae6054 100644 --- a/src/d/actor/d_a_pirate_flag.cpp +++ b/src/d/actor/d_a_pirate_flag.cpp @@ -189,7 +189,7 @@ void daPirate_Flag_packet_c::setNrmVtx(cXyz* param_0, int param_1, int param_2) void daPirate_Flag_packet_c::draw() { j3dSys.reinitGX(); -#if VERSION != VERSION_JPN +#if VERSION > VERSION_JPN GXSetNumIndStages(0); #endif @@ -278,7 +278,7 @@ void daPirate_Flag_packet_c::draw() { GXSetArray(GX_VA_NRM, m4F4[m87E], sizeof(cXyz)); GXCallDisplayList(l_pirate_flag_DL, sizeof(l_pirate_flag_DL) - 0x04); -#if VERSION != VERSION_JPN +#if VERSION > VERSION_JPN J3DShape::resetVcdVatCache(); #endif } @@ -449,7 +449,7 @@ static void pirate_flag_move(pirate_flag_class* i_this) { i_this->mPacket.setBackNrm(); -#if VERSION == VERSION_JPN +#if VERSION <= VERSION_JPN // Bug: The number of bytes (0x1D4C) passed here is way too large and causes an overflow. // The below sizeof calculation is a guess as to what led the devs to arriving at this wrong number. DCStoreRangeNoSync(i_this->mPacket.getPos(), sizeof(*i_this->mPacket.mPos) * sizeof(*i_this->mPacket.mNrm) / sizeof(cXyz)); |
