aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Patcher.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Patcher.cpp b/Patcher.cpp
index d3200fd..54590a7 100644
--- a/Patcher.cpp
+++ b/Patcher.cpp
@@ -3,6 +3,9 @@
#include <fstream>
#include <array>
#include <iterator>
+#include <vector>
+
+// wow base = 50 0C00
int main(int argc, char** argv)
{
@@ -86,6 +89,12 @@ int main(int argc, char** argv)
wow_exe << b;
}
+ // naked character issue
+ wow_exe.clear();
+ wow_exe.seekg(0);
+ wow_exe.seekp(0x1DDC5D);
+ wow_exe << static_cast<char>(0xEB);
+
std::cout << "World of Warcraft exe has been patched!\n";
return 0;
}