[9303] Restore skip one from startup (by DBC data) but not existed items.

This commit is contained in:
VladimirMangos 2010-02-04 22:00:10 +03:00
parent dd2239eea9
commit d7d4c2da9f
2 changed files with 5 additions and 4 deletions

View file

@ -2077,6 +2077,7 @@ void ObjectMgr::LoadItemPrototypes()
uint32 item_id = entry->ItemId[j]; uint32 item_id = entry->ItemId[j];
if (!GetItemPrototype(item_id)) if (!GetItemPrototype(item_id))
if (item_id != 40582) // nonexistent item by default but referenced in DBC, skip it from errors
notFoundOutfit.insert(item_id); notFoundOutfit.insert(item_id);
} }
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9302" #define REVISION_NR "9303"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__