diff options
author | Brian <runningnak3d@gmail.com> | 2010-03-30 12:05:48 -0600 |
---|---|---|
committer | Brian <runningnak3d@gmail.com> | 2010-03-30 12:05:48 -0600 |
commit | ed40fed97133ac9aeaf6e8188a3b7f9be18a521b (patch) | |
tree | f025066cd2c9a987205bb3658395627bc4ae0c29 | |
parent | 00bb3d5cb763287d1aa4e3d44bbcdbfdfafed4d5 (diff) |
* Remove remaining obsolete client version checks from AHbot
--HG--
branch : trunk
-rw-r--r-- | src/framework/Platform/Define.h | 4 | ||||
-rw-r--r-- | src/game/AuctionHouseBot.cpp | 6 | ||||
-rw-r--r-- | src/game/AuctionHouseBot.h | 2 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h index 5ebed25819a..9285bf289f9 100644 --- a/src/framework/Platform/Define.h +++ b/src/framework/Platform/Define.h @@ -82,8 +82,4 @@ typedef uint32 DWORD; typedef uint64 OBJECT_HANDLE; -#ifndef CLIENT_VER -#define CLIENT_VER 322 -#endif - #endif //TRINITY_DEFINE_H diff --git a/src/game/AuctionHouseBot.cpp b/src/game/AuctionHouseBot.cpp index 99ff2927b89..f3da7f27351 100644 --- a/src/game/AuctionHouseBot.cpp +++ b/src/game/AuctionHouseBot.cpp @@ -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)) diff --git a/src/game/AuctionHouseBot.h b/src/game/AuctionHouseBot.h index 8299a53ca0f..7fcd234bafa 100644 --- a/src/game/AuctionHouseBot.h +++ b/src/game/AuctionHouseBot.h @@ -1156,9 +1156,7 @@ private: bool DisableBeta_PTR_Unused; bool DisablePermEnchant; -#if CLIENT_VER > 300 bool DisableConjured; -#endif bool DisableGems; bool DisableMoney; bool DisableMoneyLoot; |