mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8812] totems with no spell shouldn't cast anything
not all totems must have a spell
This commit is contained in:
parent
33c6241fd8
commit
02b6c5889b
2 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8811"
|
||||
#define REVISION_NR "8812"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue