From c03bd3ff3a3fc9d3653f857daa0dbbe535e03501 Mon Sep 17 00:00:00 2001 From: kitty624 <58940527+kitty624@users.noreply.github.com> Date: Mon, 15 Apr 2024 01:17:18 +0200 Subject: [PATCH] Update ShopKeeper Interface.cpp reworking r9343 - already decided in IsItemlegal - if it ain't legal, it won't be shown in ShopKeeperInventory, no need to bother with it again --- Tactical/ShopKeeper Interface.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Tactical/ShopKeeper Interface.cpp b/Tactical/ShopKeeper Interface.cpp index 427a0fc5..505ce377 100644 --- a/Tactical/ShopKeeper Interface.cpp +++ b/Tactical/ShopKeeper Interface.cpp @@ -2896,13 +2896,6 @@ BOOLEAN DetermineArmsDealersSellingInventory( ) continue; } - //shadooow: do not sell any item that is limited to specific system and this system isn't enabled - if (((Item[iter->object.usItem].usLimitedToSystem & FOOD_SYSTEM_FLAG) && !UsingFoodSystem()) || ((Item[iter->object.usItem].usLimitedToSystem & DISEASE_SYSTEM_FLAG) && !gGameExternalOptions.fDisease)) - { - ++iter; - continue; - } - bool increment = true; if (ItemIsSpecial(*iter) == false) { StoreObjectsInNextFreeDealerInvSlot( &(*iter), gpTempDealersInventory, gbSelectedArmsDealerID );