Skip to content

Commit 40e9057

Browse files
author
Niko
committed
60fps fixes
1 parent b639226 commit 40e9057

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

decompile/General/AltMods/60fps/mods5.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,15 @@ void ui60_entryHook()
9393

9494
// AI cooldown
9595
{
96+
// decompile\WorkInProgress\src\PickupBots_UpdateAll.c
97+
9698
// nextDriver->weaponCooldown
9799
*(short*)0x800412ac = FPS_DOUBLE(0xFF);
98100
*(short*)0x800412b0 = FPS_DOUBLE(0xF0);
99101

100102
// nextDriver->weaponCooldown (same func, different place)
101103
*(short*)0x8004149c = FPS_DOUBLE(0xFF);
102104
*(short*)0x800414a0 = FPS_DOUBLE(0xF0);
103-
104-
// BOTS_GotoStartingLine cooldown
105-
*(short*)0x80017144 = FPS_DOUBLE(0xFF);
106-
*(short*)0x80017148 = FPS_DOUBLE(0x12c);
107105
}
108106

109107
// Boss cooldown

decompile/General/BOTS/BOTS_14_GotoStartingLine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ void DECOMP_BOTS_GotoStartingLine(struct Driver* d)
6666

6767
// cooldown before next weapon
6868
int rng = RngDeadCoed(&sdata->const_0x30215400);
69-
d->botData.weaponCooldown = (rng & 0xff) + 300;
69+
d->botData.weaponCooldown = FPS_DOUBLE((rng & 0xff) + 300);
7070
}

0 commit comments

Comments
 (0)