Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Client/multiplayer_sa/CMultiplayerSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1575,6 +1575,14 @@ void CMultiplayerSA::InitHooks()
// Allow alpha change for helicopter rotor (#523)
MemSet((void*)0x6C444B, 0x90, 6);
MemSet((void*)0x6C4453, 0x90, 0x68);

// Disable Z position changes in the matrix in the C3dMarkers::PlaceMarker (#4000, #536)
// To prevent arrow-type markers from snapping to the ground
MemCpy((void*)0x725844, "\xDD\xD8\x90", 3);
MemCpy((void*)0x725619, "\xDD\xD8\x90", 3);
MemCpy((void*)0x72565A, "\xDD\xD8\x90", 3);
MemCpy((void*)0x7259B0, "\xDD\xD8\x90", 3);
MemSet((void*)0x7258B8, 0x90, 6);

InitHooks_CrashFixHacks();
InitHooks_DeviceSelection();
Expand Down
Loading