mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 22:37:05 +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();
|
AIM_Initialize();
|
||||||
|
|
||||||
|
// there are some totems, which exist just for their visual appeareance
|
||||||
|
if (!GetSpell())
|
||||||
|
return;
|
||||||
|
|
||||||
switch(m_type)
|
switch(m_type)
|
||||||
{
|
{
|
||||||
case TOTEM_PASSIVE:
|
case TOTEM_PASSIVE:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8811"
|
#define REVISION_NR "8812"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue