mirror of
https://github.com/CTR-tools/CTR-ModSDK.git
synced 2024-11-26 23:10:26 +00:00
progress
This commit is contained in:
parent
583d8e6899
commit
5a3bf0500e
@ -68,6 +68,6 @@ void DECOMP_BOTS_GotoStartingLine(struct Driver *d)
|
||||
d->botAccel = accelDuration * accel;
|
||||
|
||||
// cooldown before next weapon
|
||||
RngDeadCoed(&sdata->const_0x30215400);
|
||||
d->weaponCooldown = (extraout_var & 0xff) + 300;
|
||||
int rng = RngDeadCoed(&sdata->const_0x30215400);
|
||||
d->weaponCooldown = (rng & 0xff) + 300;
|
||||
}
|
@ -3994,8 +3994,8 @@ void FUN_8001702c(int param_1)
|
||||
*(int *)(param_1 + 0x5b4) = iVar2 * (uint)bVar1;
|
||||
|
||||
// cooldown before next weapon
|
||||
FUN_8006c684(&DAT_8008d668);
|
||||
*(short *)(param_1 + 0x624) = (extraout_var & 0xff) + 300;
|
||||
rng = FUN_8006c684(&DAT_8008d668);
|
||||
*(short *)(param_1 + 0x624) = (rng & 0xff) + 300;
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user