Lua fixes, need to get perl working again D=

This commit is contained in:
KimLS
2013-05-19 23:39:18 -07:00
parent 69bad31019
commit 1363d5d209
7 changed files with 506 additions and 166 deletions
+4 -3
View File
@@ -2473,10 +2473,11 @@ uint32 NPC::GetSpawnKillCount()
}
void NPC::DoQuestPause(Mob *other) {
if(IsMoving() && !IsOnHatelist(other))
if(IsMoving() && !IsOnHatelist(other)) {
PauseWandering(RuleI(NPC, SayPauseTimeInSec));
if(!IsMoving())
FaceTarget(other);
} else if(!IsMoving()) {
FaceTarget(other);
}
}