[9947] More skinning fixes.
commit842aa8ffe30f491eb6535a89dca08ea4a14f2bf1
authorVladimirMangos <vladimir@getmangos.com>
Fri, 21 May 2010 05:47:58 +0000 (21 09:47 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Fri, 21 May 2010 07:10:59 +0000 (21 11:10 +0400)
tree5179120c5557f4e3c38c3578ffcd3a97088087c0
parent570eed5d7adaf90c926de1efc0794e26f70f9205
[9947] More skinning fixes.

* Restore work with money loot.
* Old code sometime generate empty loot windows for normal loot and sometime skip its.
  Code changed to be more consistent. Added new option Corpse.EmptyLootShow that control
  show empty normal loot window in some cases enabled by default:
   - if creature expected to be lootable but loot generated empty by some reasons.
   - if creature can be skinnable
  If option disabled thne code attempt avoid empty normal loot windows for empty cases.
* Possible fixed case instant despawn non-skinable creature after normal loot complete.
src/game/Creature.cpp
src/game/SpellEffects.cpp
src/game/World.cpp
src/game/World.h
src/mangosd/mangosd.conf.dist.in
src/shared/revision_nr.h