[9317] Call linkedtrap summon in more cases.
commit09210e253d21938db3ce09d3b243aac7affe1896
authorVladimirMangos <vladimir@getmangos.com>
Sat, 6 Feb 2010 21:48:23 +0000 (7 00:48 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Sat, 6 Feb 2010 23:51:45 +0000 (7 02:51 +0300)
tree3601b741a783c35772ad091d720522556b38e380
parent642046ad289a3884be703f3d827bd9465bdc3508
[9317] Call linkedtrap summon in more cases.

* GAMEOBJECT_TYPE_BUTTON can have linked traps
* Spell::EffectSummonObject also can summon objects with linked traps

Thanks to patman128 for research second case.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
src/game/GameObject.cpp
src/game/GameObject.h
src/game/ObjectMgr.cpp
src/game/SpellEffects.cpp
src/shared/revision_nr.h