From bf7622ec61b7c772b7e7ab9bd730807658e7fb80 Mon Sep 17 00:00:00 2001 From: robinsch Date: Thu, 30 Nov 2023 11:16:03 +0100 Subject: Fixes missiles impacting on terrain Fixes https://github.com/robinsch/WoWFix335/issues/2 --- Patcher.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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(0xEB); + // patches missiles impacting with terrain + { + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x1FC99E); + wow_exe << static_cast(0x00); + + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x1FC8C7); + wow_exe << static_cast(0x00); + + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x01FC735); + wow_exe << static_cast(0x00); + } + std::cout << "World of Warcraft exe has been patched!\n"; return 0; } -- cgit v1.2.3