diff options
author | robinsch <hello@robinsch.com> | 2023-11-30 11:16:03 +0100 |
---|---|---|
committer | robinsch <hello@robinsch.com> | 2023-11-30 11:16:03 +0100 |
commit | bf7622ec61b7c772b7e7ab9bd730807658e7fb80 (patch) | |
tree | 3e5add8a341033e9183570e07e17ddc9ed58ffcc | |
parent | 342379fc640ebca80936745a0704cf413a64c138 (diff) |
Fixes missiles impacting on terrain
Fixes https://github.com/robinsch/WoWFix335/issues/2
-rw-r--r-- | Patcher.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Patcher.cpp b/Patcher.cpp index 54590a7..cead52e 100644 --- a/Patcher.cpp +++ b/Patcher.cpp @@ -95,6 +95,24 @@ int main(int argc, char** argv) wow_exe.seekp(0x1DDC5D); wow_exe << static_cast<char>(0xEB); + // patches missiles impacting with terrain + { + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x1FC99E); + wow_exe << static_cast<char>(0x00); + + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x1FC8C7); + wow_exe << static_cast<char>(0x00); + + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x01FC735); + wow_exe << static_cast<char>(0x00); + } + std::cout << "World of Warcraft exe has been patched!\n"; return 0; } |