aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobinsch <hello@robinsch.com>2023-11-26 15:33:47 +0100
committerrobinsch <hello@robinsch.com>2023-11-26 15:33:47 +0100
commit221a486e73917140a67c2d8b17e1e8a9efcc083b (patch)
treef63eb127a92c89b2ff0f86a58ae5a38b364b4ac7
parent91148e23e82ce7a70c98c27a49bf8144e27a106c (diff)
Fixed missing pre cast animation when canceling channeled spells
Closes https://github.com/robinsch/WoWFix335/issues/1
-rw-r--r--Patcher.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Patcher.cpp b/Patcher.cpp
index d0d75d1..d8328f6 100644
--- a/Patcher.cpp
+++ b/Patcher.cpp
@@ -45,6 +45,13 @@ int main(int argc, char** argv)
wow_exe.seekp(0x355BF);
wow_exe << static_cast<char>(0xEB);
+ // missing pre cast animation when canceling channeled spells
+ wow_exe.clear();
+ wow_exe.seekg(0);
+ wow_exe.seekp(0x33E0D6);
+ for (size_t i = 0; i < 22; ++i)
+ wow_exe << static_cast<char>(0x90);
+
std::cout << "World of Warcraft exe has been patched!\n";
return 0;
}