From 50e878acba2a92d8193cfcef3dceadf16c370a9d Mon Sep 17 00:00:00 2001 From: p0wer Date: Tue, 23 Feb 2010 20:30:31 -0600 Subject: Fix typo in core bootup where it incorrectly displays an error message and returns false. Having the Max vendor items is acceptable. --HG-- branch : trunk --- src/game/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/ObjectMgr.cpp') diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index cdc267ad1bd..898c20b5c42 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -8587,7 +8587,7 @@ bool ObjectMgr::IsVendorItemValid( uint32 vendor_entry, uint32 item_id, int32 ma return false; } - if(vItems->GetItemCount() >= MAX_VENDOR_ITEMS) + if(vItems->GetItemCount() > MAX_VENDOR_ITEMS) { if(pl) ChatHandler(pl).SendSysMessage(LANG_COMMAND_ADDVENDORITEMITEMS); -- cgit v1.2.3