From 729989f6fae79492fe4147ca4e6f2c477012bad8 Mon Sep 17 00:00:00 2001 From: nastys <@> Date: Sun, 9 Aug 2020 05:43:48 +0200 Subject: [PATCH] [Patches] Fix look animation patches overflow causing the mouth animations not to work correctly --- source-code/source/plugins/Patches/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-code/source/plugins/Patches/dllmain.cpp b/source-code/source/plugins/Patches/dllmain.cpp index cf07253..00f6f70 100644 --- a/source-code/source/plugins/Patches/dllmain.cpp +++ b/source-code/source/plugins/Patches/dllmain.cpp @@ -914,7 +914,7 @@ void ApplyPatches() { int* look_table_oldid = (int*)(0x1409A1D9C); DWORD oldProtect; VirtualProtect(look_table_oldid, 36, PAGE_EXECUTE_READWRITE, &oldProtect); - for (int i = 0; i < 11; i++) + for (int i = 0; i < 9; i++) { look_table_oldid[i]--; }