We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7aff60 commit 6674821Copy full SHA for 6674821
src/xrGame/ai/monsters/monster_enemy_memory.cpp
@@ -55,6 +55,9 @@ void CMonsterEnemyMemory::update()
55
}
56
57
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
61
if (monster->SoundMemory.IsRememberSound() && g_actor
62
&& g_actor->memory().visual().visible_now(monster))
63
{
0 commit comments