[8702] removed startup-error for creature_loot_template id=0

for alterac valley we've defined Player-loot inside creature_loot_template
with id=0
this hack is used, so that we won't need to create an extra table
player_loot_template for just one case

if later more player-loot will be needed, we should implement
new table and remove this

also added sql-fix for reputation of last commit
it will just fix those which are hated by faction 729/730
This commit is contained in:
balrok 2009-10-21 22:06:40 +02:00
parent b4ea5a6d19
commit 69abc9ece4
6 changed files with 12 additions and 3 deletions

View file

@ -1093,6 +1093,10 @@ void LoadLootTemplates_Creature()
for(LootIdSet::const_iterator itr = ids_setUsed.begin(); itr != ids_setUsed.end(); ++itr)
ids_set.erase(*itr);
// for alterac valley we've defined Player-loot inside creature_loot_template id=0
// this hack is used, so that we won't need to create an extra table player_loot_template for just one case
ids_set.erase(0);
// output error for any still listed (not referenced from appropriate table) ids
LootTemplates_Creature.ReportUnusedIds(ids_set);
}