diff options
Diffstat (limited to '')
-rw-r--r-- | source/cPassiveAggressiveMonster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cPassiveAggressiveMonster.cpp b/source/cPassiveAggressiveMonster.cpp index 9d423b0f7..09e7b6a25 100644 --- a/source/cPassiveAggressiveMonster.cpp +++ b/source/cPassiveAggressiveMonster.cpp @@ -21,7 +21,7 @@ cPassiveAggressiveMonster::~cPassiveAggressiveMonster() void cPassiveAggressiveMonster::TakeDamage(int a_Damage, cEntity* a_Instigator)
{
cMonster::TakeDamage(a_Damage, a_Instigator);
- if(m_Target->GetEntityType() == cEntity::E_PLAYER)
+ if(m_Target->GetEntityType() == cEntity::eEntityType_Player)
{
cPlayer * Player = (cPlayer *) m_Target;
if(Player->GetGameMode() != 1)
|