# HG changeset patch # User Grumpy7 # Date 1382493337 25200 # Node ID c77935190b5118fd4de6d23f9865a47ddbbee5e4 # Parent 4ecc099ef876fdef84fe8421203a81abbf98561a fixing monsters not attacking unless attacked diff -r 4ecc099ef876 -r c77935190b51 Actor.cpp --- a/Actor.cpp Tue Oct 22 21:31:24 2013 +0100 +++ b/Actor.cpp Tue Oct 22 18:55:37 2013 -0700 @@ -2978,7 +2978,7 @@ pActor->uActorHeight = pMonsterList->pMonsters[pActor->pMonsterInfo.uID - 1].uMonsterHeight; if (pActor->pActorBuffs[ACTOR_BUFF_CHARM].uExpireTime > 0) pActor->pMonsterInfo.uHostilityType = MonsterInfo::Hostility_Friendly; - else + else if (pActor->pActorBuffs[ACTOR_BUFF_CHARM].uExpireTime < 0) pActor->pMonsterInfo.uHostilityType = pMonsterStats->pInfos[pActor->pMonsterInfo.uID].uHostilityType; if (pActor->pActorBuffs[ACTOR_BUFF_PARALYZED].uExpireTime > 0 ||