mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[9232] Replace list bool fields with exclusive true values by subtype field in Creature.
Use it in recently added code instead dynamic_cast use.
This commit is contained in:
parent
6653539a5e
commit
797dd6d931
9 changed files with 29 additions and 21 deletions
|
|
@ -24,9 +24,8 @@
|
|||
#include "ObjectMgr.h"
|
||||
#include "SpellMgr.h"
|
||||
|
||||
Totem::Totem() : Creature()
|
||||
Totem::Totem() : Creature(CREATURE_SUBTYPE_TOTEM)
|
||||
{
|
||||
m_isTotem = true;
|
||||
m_duration = 0;
|
||||
m_type = TOTEM_PASSIVE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue