Fix overflow with tyreSpeed (#170)

* Fix tyreSpeed overflow and avoid ub
This commit is contained in:
MegaMech
2025-01-25 11:34:40 -07:00
committed by GitHub
parent 2c2347a4af
commit 3cf0d063ce
3 changed files with 27 additions and 20 deletions
+1 -1
View File
@@ -2027,7 +2027,7 @@ void func_8002D028(Player* player, s8 arg1) {
player->unk_08C = 0;
player->unk_094 = 0;
player->unk_104 = 0;
player->unk_240 = 0;
player->tyreSpeed = 0;
player->unk_07C = 0;
player->velocity[0] = 0;
player->velocity[1] = 0;