Skip to content

Commit 1b6006c

Browse files
author
Niko
committed
bugfix
1 parent 72590eb commit 1b6006c

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

psx-modding-toolchain/games/CrashTeamRacing/decompile/General/LOAD/LOAD_TenStages.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,8 @@ int LOAD_TenStages(struct GameTracker* gGT, int loadingStage, struct BigHeader*
698698
// '2' for dram
699699
LOAD_AppendQueue(bigfile, 2, iVar9 + ((u_int)(u_char)gGT->podium_modelIndex_tawna - 0x8f) * 2 + 0x1ad, &data.podiumModel_tawna, 0xfffffffe);
700700

701-
// -0x7d = 0x83
702-
// 0x83 - 0x7e = 5 (dingo)
703-
if (gGT->podium_modelIndex_First == -0x7d)
701+
// if 0x7e+5 (dingo)
702+
if (gGT->podium_modelIndex_First == 0x83)
704703
{
705704
// add "DingoFire" to loading queue
706705
// '2' for dram

psx-modding-toolchain/games/CrashTeamRacing/mods/Tests/1P_Lev_4P_Mode/LOAD_TenStages.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,9 +693,8 @@ int LOAD_TenStages(struct GameTracker* gGT, int loadingStage, struct BigHeader*
693693
// '2' for dram
694694
LOAD_AppendQueue(bigfile, 2, iVar9 + ((u_int)(u_char)gGT->podium_modelIndex_tawna - 0x8f) * 2 + 0x1ad, &data.podiumModel_tawna, 0xfffffffe);
695695

696-
// -0x7d = 0x83
697-
// 0x83 - 0x7e = 5 (dingo)
698-
if (gGT->podium_modelIndex_First == -0x7d)
696+
// if 0x7e+5 (dingo)
697+
if (gGT->podium_modelIndex_First == 0x83)
699698
{
700699
// add "DingoFire" to loading queue
701700
// '2' for dram

psx-modding-toolchain/games/CrashTeamRacing/mods/Tests/CustomLevel/src/LOAD_TenStages.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,9 +715,8 @@ int LOAD_TenStages(struct GameTracker* gGT, int loadingStage, struct BigHeader*
715715
// '2' for dram
716716
LOAD_AppendQueue(bigfile, 2, iVar9 + ((u_int)(u_char)gGT->podium_modelIndex_tawna - 0x8f) * 2 + 0x1ad, &data.podiumModel_tawna, 0xfffffffe);
717717

718-
// -0x7d = 0x83
719-
// 0x83 - 0x7e = 5 (dingo)
720-
if (gGT->podium_modelIndex_First == -0x7d)
718+
// if 0x7e+5 (dingo)
719+
if (gGT->podium_modelIndex_First == 0x83)
721720
{
722721
// add "DingoFire" to loading queue
723722
// '2' for dram

0 commit comments

Comments
 (0)