Mercurial > mm7
diff TurnEngine.cpp @ 2495:7b076fe64f23
GetItemTextureFilename fix
author | Ritor1 |
---|---|
date | Wed, 17 Sep 2014 17:35:13 +0600 |
parents | de8c5c223e9c |
children | 5abd8fc8f1c6 |
line wrap: on
line diff
--- a/TurnEngine.cpp Tue Sep 16 17:48:58 2014 +0600 +++ b/TurnEngine.cpp Wed Sep 17 17:35:13 2014 +0600 @@ -979,7 +979,7 @@ } if ( pActors[uActorID].pMonsterInfo.uHostilityType == MonsterInfo::Hostility_Long ) { - if ( !(pActors[uActorID].uAttributes & 0x020000) || pActors[uActorID].pMonsterInfo.uAIType == 1 ) + if ( !(pActors[uActorID].uAttributes & ACTOR_FLEEING) || pActors[uActorID].pMonsterInfo.uAIType == 1 ) { if ( pActors[uActorID].pMonsterInfo.uAIType == 1 ) {