From ed40fed97133ac9aeaf6e8188a3b7f9be18a521b Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 30 Mar 2010 12:05:48 -0600 Subject: * Remove remaining obsolete client version checks from AHbot --HG-- branch : trunk --- src/framework/Platform/Define.h | 4 ---- src/game/AuctionHouseBot.cpp | 6 ------ src/game/AuctionHouseBot.h | 2 -- 3 files changed, 12 deletions(-) (limited to 'src') 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; -- cgit v1.2.3