From 2420d0f7e969bfe5a47e4171d5dcdafadb40aa37 Mon Sep 17 00:00:00 2001 From: Silent Date: Wed, 27 Jul 2016 02:19:11 +0200 Subject: [PATCH] Fixed ammo for melee weapons in cheats -VC --- SilentPatchVC/SilentPatchVC.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/SilentPatchVC/SilentPatchVC.cpp b/SilentPatchVC/SilentPatchVC.cpp index d288630..6ab8c0b 100644 --- a/SilentPatchVC/SilentPatchVC.cpp +++ b/SilentPatchVC/SilentPatchVC.cpp @@ -328,6 +328,11 @@ void Patch_VC_10(const RECT& desktop) InjectHook(0x4349BB, GaragesInit_SilentPatch, PATCH_JUMP); + // Fixed ammo for melee weapons in cheats + Patch(0x4AED14+1, 1); // katana + Patch(0x4AEB74+1, 1); // chainsaw + + // Adblocker #if DISABLE_FLA_DONATION_WINDOW if ( *(DWORD*)0x5FFAE9 != 0x006A026A ) @@ -472,6 +477,11 @@ void Patch_VC_11(const RECT& desktop) // Reinit free resprays flag InjectHook(0x4349BB, GaragesInit_SilentPatch, PATCH_JUMP); + + + // Fixed ammo for melee weapons in cheats + Patch(0x4AED34+1, 1); // katana + Patch(0x4AEB94+1, 1); // chainsaw } void Patch_VC_Steam(const RECT& desktop) @@ -607,6 +617,11 @@ void Patch_VC_Steam(const RECT& desktop) // Reinit free resprays flag InjectHook(0x43497B, GaragesInit_SilentPatch, PATCH_JUMP); + + + // Fixed ammo for melee weapons in cheats + Patch(0x4AEA44+1, 1); // katana + Patch(0x4AEBE4+1, 1); // chainsaw } void Patch_VC_JP()