summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-01-25 11:34:40 -0700
committerGitHub <noreply@github.com>2025-01-25 11:34:40 -0700
commit3cf0d063ce0caa1de7c81cdc22a378789b8b723d (patch)
tree6474c26dfc4f46371579425e6ad804c8e138ce89 /include
parent2c2347a4af8fc8f865b5aa712c6f0da8686e705c (diff)
Fix overflow with tyreSpeed (#170)
* Fix tyreSpeed overflow and avoid ub
Diffstat (limited to 'include')
-rw-r--r--include/common_structs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common_structs.h b/include/common_structs.h
index db8e189c9..8ae06ea1e 100644
--- a/include/common_structs.h
+++ b/include/common_structs.h
@@ -361,7 +361,7 @@ typedef struct {
/* 0x0238 */ s16 unk_238;
/* 0x023A */ s16 unk_23A;
/* 0x023C */ f32 unk_23C;
- /* 0x0240 */ s32 unk_240;
+ /* 0x0240 */ s32 tyreSpeed;
/* 0x0244 */ u16 animFrameSelector[4]; // [0] Active texture group
/* 0x024C */ u16 animGroupSelector[4]; // Based on screen
/* 0x0254 */ u16 characterId;