* Remove remaining obsolete client version checks from AHbot

--HG--
branch : trunk
This commit is contained in:
Brian
2010-03-30 12:05:48 -06:00
parent 00bb3d5cb7
commit ed40fed971
3 changed files with 0 additions and 12 deletions
-4
View File
@@ -82,8 +82,4 @@ typedef uint32 DWORD;
typedef uint64 OBJECT_HANDLE;
#ifndef CLIENT_VER
#define CLIENT_VER 322
#endif
#endif //TRINITY_DEFINE_H
-6
View File
@@ -47,9 +47,7 @@ AuctionHouseBot::AuctionHouseBot()
DisableBeta_PTR_Unused = false;
DisablePermEnchant = false;
#if CLIENT_VER > 300
DisableConjured = false;
#endif
DisableGems = false;
DisableMoney = false;
DisableMoneyLoot = false;
@@ -775,9 +773,7 @@ void AuctionHouseBot::Initialize()
DisableBeta_PTR_Unused = sConfig.GetBoolDefault("AuctionHouseBot.DisableBeta_PTR_Unused", false);
DisablePermEnchant = sConfig.GetBoolDefault("AuctionHouseBot.DisablePermEnchant", false);
#if CLIENT_VER > 300
DisableConjured = sConfig.GetBoolDefault("AuctionHouseBot.DisableConjured", false);
#endif
DisableGems = sConfig.GetBoolDefault("AuctionHouseBot.DisableGems", false);
DisableMoney = sConfig.GetBoolDefault("AuctionHouseBot.DisableMoney", false);
DisableMoneyLoot = sConfig.GetBoolDefault("AuctionHouseBot.DisableMoneyLoot", false);
@@ -1040,14 +1036,12 @@ void AuctionHouseBot::Initialize()
continue;
}
#if CLIENT_VER > 300
// Disable conjured items
if ((DisableConjured) && (prototype->IsConjuredConsumable()))
{
if (debug_Out_Filters) sLog.outString("AuctionHouseBot: Item %u disabled (Conjured Consumable)", prototype->ItemId);
continue;
}
#endif
// Disable gems
if ((DisableGems) && (prototype->Class == ITEM_CLASS_GEM))
-2
View File
@@ -1156,9 +1156,7 @@ private:
bool DisableBeta_PTR_Unused;
bool DisablePermEnchant;
#if CLIENT_VER > 300
bool DisableConjured;
#endif
bool DisableGems;
bool DisableMoney;
bool DisableMoneyLoot;