aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authorp0wer <none@none>2010-02-23 20:30:31 -0600
committerp0wer <none@none>2010-02-23 20:30:31 -0600
commit50e878acba2a92d8193cfcef3dceadf16c370a9d (patch)
tree4a4cff3266c6f4f2158c417571157bc05931edcb /src/game/ObjectMgr.cpp
parentdda62c5b5a254eff6151926b8fece7e7792b490f (diff)
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
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp2
1 files changed, 1 insertions, 1 deletions
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);