build fix
This commit is contained in:
1 parent
7acc26f09f
commit
71ecd754ce
1 file changed
+1
-7
@@ -126,13 +126,7 @@ class TC_GAME_API Creature : public Unit, public GridObject<Creature>, public Ma
|
||||
using Unit::SetImmuneToNPC;
|
||||
void SetImmuneToNPC(bool apply) override { Unit::SetImmuneToNPC(apply, HasReactState(REACT_PASSIVE)); }
|
||||
|
||||
void SetUnkillable(bool unkillable)
|
||||
{
|
||||
if (unkillable)
|
||||
_staticFlags |= CREATURE_STATIC_FLAG_UNKILLABLE;
|
||||
else
|
||||
_staticFlags &= ~CREATURE_STATIC_FLAG_UNKILLABLE;
|
||||
}
|
||||
void SetUnkillable(bool unkillable) { _staticFlags.ApplyFlag(CREATURE_STATIC_FLAG_UNKILLABLE, unkillable);}
|
||||
|
||||
/// @todo Rename these properly
|
||||
bool isCanInteractWithBattleMaster(Player* player, bool msg) const;
|
||||
|
||||
Reference in new issue
Block a user