build fix

This commit is contained in:
Ovahlord committed 2023-08-27 17:46:22 +02:00
1 parent 7acc26f09f
commit 71ecd754ce
1 file changed
+1 -7
+1 -7
View File
@@ -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;