summaryrefslogtreecommitdiffstats
path: root/source/cAggressiveMonster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cAggressiveMonster.cpp')
-rw-r--r--source/cAggressiveMonster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cAggressiveMonster.cpp b/source/cAggressiveMonster.cpp
index 54d204c8b..e597bfed8 100644
--- a/source/cAggressiveMonster.cpp
+++ b/source/cAggressiveMonster.cpp
@@ -24,7 +24,7 @@ void cAggressiveMonster::InStateChasing(float a_Dt) {
m_ChaseTime += a_Dt;
if( m_Target )
{
- if(m_Target->GetEntityType() == cEntity::E_PLAYER)
+ if(m_Target->GetEntityType() == cEntity::eEntityType_Player)
{
cPlayer * Player = (cPlayer *) m_Target;
if(Player->GetGameMode() == 1)