Moved fix patch to more appropriate place #70

This commit is contained in:
phobos2077
2017-02-28 00:39:05 +07:00
parent 72bde84d92
commit 02658a3801
+3 -3
View File
@@ -676,9 +676,6 @@ void Inventory::init() {
//Display item weight when examining
HookCall(0x472FFE, &InvenObjExamineFuncHook);
// Fix item_count function returning incorrect value when there is a container-item inside
MakeCall(0x47808C, ItemCountFix, true);
}
if (GetPrivateProfileInt("Misc", "SuperStimExploitFix", 0, ini)) {
@@ -713,6 +710,9 @@ void Inventory::init() {
// Move items to player's main inventory instead of the opened bag/backpack when confirming a trade
SafeWrite32(0x475CF2, VARPTR_stack);
// Fix item_count function returning incorrect value when there is a container-item inside
MakeCall(0x47808C, ItemCountFix, true); // replacing item_count_ function
}
void InventoryReset() {