mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
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
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user