[8812] totems with no spell shouldn't cast anything

not all totems must have a spell
This commit is contained in:
balrok 2009-11-13 20:51:59 +01:00
parent 33c6241fd8
commit 02b6c5889b
2 changed files with 5 additions and 1 deletions

View file

@ -68,6 +68,10 @@ void Totem::Summon(Unit* owner)
AIM_Initialize();
// there are some totems, which exist just for their visual appeareance
if (!GetSpell())
return;
switch(m_type)
{
case TOTEM_PASSIVE:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8811"
#define REVISION_NR "8812"
#endif // __REVISION_NR_H__