aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Patcher.cpp18
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;
}