diff options
author | p0wer <none@none> | 2010-02-23 20:30:31 -0600 |
---|---|---|
committer | p0wer <none@none> | 2010-02-23 20:30:31 -0600 |
commit | 50e878acba2a92d8193cfcef3dceadf16c370a9d (patch) | |
tree | 4a4cff3266c6f4f2158c417571157bc05931edcb | |
parent | dda62c5b5a254eff6151926b8fece7e7792b490f (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
-rw-r--r-- | src/game/ObjectMgr.cpp | 2 |
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); |