Skip to content

Commit 619b62a

Browse files
committed
fix: engine brake sound not working
1 parent 5d5d567 commit 619b62a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/ts-fmod-plugin.dll

0 Bytes
Binary file not shown.

ts-fmod-plugin/memory_structure.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ class game_actor_u : public unit_t // Size: 0x10A0
8787
char pad_0240[8]; // 0x0240 (0x08)
8888
float handbrake_handle; // 0x0248 (0x04) 0 = off, 1 = on
8989
float handbrake_state; // 0x024C (0x04) 0 = off, 1 = on (instant)
90-
char pad_0250[8]; // 0x0250 (0x08)
91-
float engine_brake_stick; // 0x0258 (0x04) 0 = off, 1 = full; steps dependant on engine data
92-
float engine_brake_state; // 0x025C (0x04) 0 = off, 1 = full (instant); steps dependant on engine data
93-
char pad_0260[28]; // 0x0260 (0x1c)
90+
char pad_0250[16]; // 0x0250 (0x10)
91+
float engine_brake_stick; // 0x0260 (0x04) 0 = off, 1 = full; steps dependant on engine data
92+
float engine_brake_state; // 0x0264 (0x04) 0 = off, 1 = full (instant); steps dependant on engine data
93+
char pad_0268[20]; // 0x0268 (0x14)
9494
float wipers_stick; // 0x027C (0x04) 0 = off, 0.333 = intermittent, 0.666 = slow, 1 = fast
9595
float wipers_state; // 0x0280 (0x04) 0 = off, 0.333 = intermittent, 0.666 = slow, 1 = fast (instant)
9696
char pad_0284[12]; // 0x0284 (0x0c)

0 commit comments

Comments
 (0)