Skip to content

Commit 6674821

Browse files
committed
xrGame/ai/monsters/monster_enemy_memory.cpp: added XXX
1 parent b7aff60 commit 6674821

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/xrGame/ai/monsters/monster_enemy_memory.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ void CMonsterEnemyMemory::update()
5555
}
5656
}
5757

58+
// XXX: monster doesn't react to sounds when Actor doesn't see him
59+
// Probably this was made for optimization
60+
// But this conflicts with the ALife idea
5861
if (monster->SoundMemory.IsRememberSound() && g_actor
5962
&& g_actor->memory().visual().visible_now(monster))
6063
{

0 commit comments

Comments
 (0)