mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
fixed more build warnings reported by clang/gcc
This commit is contained in:
parent
b4b3498fa3
commit
b2737a3610
3 changed files with 8 additions and 2 deletions
|
|
@ -1022,6 +1022,8 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
|
|||
m_creature->HandleEmote(action.emoteTarget.emoteId);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1063,6 +1065,8 @@ void CreatureEventAI::Reset()
|
|||
(*i).Enabled = true;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
// default:
|
||||
// TODO: enable below code line / verify this is correct to enable events previously disabled (ex. aggro yell), instead of enable this in void Aggro()
|
||||
//(*i).Enabled = true;
|
||||
|
|
@ -1344,6 +1348,8 @@ void CreatureEventAI::UpdateAI(const uint32 diff)
|
|||
ProcessEvent(*i);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
m_EventDiff = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue