* Remove remaining obsolete client version checks from AHbot
--HG-- branch : trunk
This commit is contained in:
@@ -82,8 +82,4 @@ typedef uint32 DWORD;
|
|||||||
|
|
||||||
typedef uint64 OBJECT_HANDLE;
|
typedef uint64 OBJECT_HANDLE;
|
||||||
|
|
||||||
#ifndef CLIENT_VER
|
|
||||||
#define CLIENT_VER 322
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif //TRINITY_DEFINE_H
|
#endif //TRINITY_DEFINE_H
|
||||||
|
|||||||
@@ -47,9 +47,7 @@ AuctionHouseBot::AuctionHouseBot()
|
|||||||
|
|
||||||
DisableBeta_PTR_Unused = false;
|
DisableBeta_PTR_Unused = false;
|
||||||
DisablePermEnchant = false;
|
DisablePermEnchant = false;
|
||||||
#if CLIENT_VER > 300
|
|
||||||
DisableConjured = false;
|
DisableConjured = false;
|
||||||
#endif
|
|
||||||
DisableGems = false;
|
DisableGems = false;
|
||||||
DisableMoney = false;
|
DisableMoney = false;
|
||||||
DisableMoneyLoot = false;
|
DisableMoneyLoot = false;
|
||||||
@@ -775,9 +773,7 @@ void AuctionHouseBot::Initialize()
|
|||||||
|
|
||||||
DisableBeta_PTR_Unused = sConfig.GetBoolDefault("AuctionHouseBot.DisableBeta_PTR_Unused", false);
|
DisableBeta_PTR_Unused = sConfig.GetBoolDefault("AuctionHouseBot.DisableBeta_PTR_Unused", false);
|
||||||
DisablePermEnchant = sConfig.GetBoolDefault("AuctionHouseBot.DisablePermEnchant", false);
|
DisablePermEnchant = sConfig.GetBoolDefault("AuctionHouseBot.DisablePermEnchant", false);
|
||||||
#if CLIENT_VER > 300
|
|
||||||
DisableConjured = sConfig.GetBoolDefault("AuctionHouseBot.DisableConjured", false);
|
DisableConjured = sConfig.GetBoolDefault("AuctionHouseBot.DisableConjured", false);
|
||||||
#endif
|
|
||||||
DisableGems = sConfig.GetBoolDefault("AuctionHouseBot.DisableGems", false);
|
DisableGems = sConfig.GetBoolDefault("AuctionHouseBot.DisableGems", false);
|
||||||
DisableMoney = sConfig.GetBoolDefault("AuctionHouseBot.DisableMoney", false);
|
DisableMoney = sConfig.GetBoolDefault("AuctionHouseBot.DisableMoney", false);
|
||||||
DisableMoneyLoot = sConfig.GetBoolDefault("AuctionHouseBot.DisableMoneyLoot", false);
|
DisableMoneyLoot = sConfig.GetBoolDefault("AuctionHouseBot.DisableMoneyLoot", false);
|
||||||
@@ -1040,14 +1036,12 @@ void AuctionHouseBot::Initialize()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CLIENT_VER > 300
|
|
||||||
// Disable conjured items
|
// Disable conjured items
|
||||||
if ((DisableConjured) && (prototype->IsConjuredConsumable()))
|
if ((DisableConjured) && (prototype->IsConjuredConsumable()))
|
||||||
{
|
{
|
||||||
if (debug_Out_Filters) sLog.outString("AuctionHouseBot: Item %u disabled (Conjured Consumable)", prototype->ItemId);
|
if (debug_Out_Filters) sLog.outString("AuctionHouseBot: Item %u disabled (Conjured Consumable)", prototype->ItemId);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
// Disable gems
|
// Disable gems
|
||||||
if ((DisableGems) && (prototype->Class == ITEM_CLASS_GEM))
|
if ((DisableGems) && (prototype->Class == ITEM_CLASS_GEM))
|
||||||
|
|||||||
@@ -1156,9 +1156,7 @@ private:
|
|||||||
|
|
||||||
bool DisableBeta_PTR_Unused;
|
bool DisableBeta_PTR_Unused;
|
||||||
bool DisablePermEnchant;
|
bool DisablePermEnchant;
|
||||||
#if CLIENT_VER > 300
|
|
||||||
bool DisableConjured;
|
bool DisableConjured;
|
||||||
#endif
|
|
||||||
bool DisableGems;
|
bool DisableGems;
|
||||||
bool DisableMoney;
|
bool DisableMoney;
|
||||||
bool DisableMoneyLoot;
|
bool DisableMoneyLoot;
|
||||||
|
|||||||
Reference in New Issue
Block a user