mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Default behaviour of pets for creatures changed to REACT_DEFENSIVE
Fixed typo: changed m_ReactSate to m_reactState Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
f8a94b84c3
commit
6f6a1a7608
3 changed files with 11 additions and 7 deletions
|
|
@ -9808,7 +9808,7 @@ CharmInfo* Unit::InitCharmInfo(Unit *charm)
|
|||
}
|
||||
|
||||
CharmInfo::CharmInfo(Unit* unit)
|
||||
: m_unit(unit), m_CommandState(COMMAND_FOLLOW), m_ReactSate(REACT_PASSIVE), m_petnumber(0)
|
||||
: m_unit(unit), m_CommandState(COMMAND_FOLLOW), m_reactState(REACT_PASSIVE), m_petnumber(0)
|
||||
{
|
||||
for(int i =0; i<4; ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue