aboutsummaryrefslogtreecommitdiff
path: root/src/crmain.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-08-19 22:41:08 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-08-19 22:41:08 -0300
commitd55b9473ec498ae181b3c91583c6950e4c3bb7f2 (patch)
tree6f0b2dc1504c037f774868b549fe00fc2945b99d /src/crmain.cc
parentb2a9d2cb961fabc1ca05052a645d90663d8e0a92 (diff)
downloadgame-d55b9473ec498ae181b3c91583c6950e4c3bb7f2.tar.gz
game-d55b9473ec498ae181b3c91583c6950e4c3bb7f2.zip
fix a problem with monsters freezing after failing to attack
Diffstat (limited to 'src/crmain.cc')
-rw-r--r--src/crmain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crmain.cc b/src/crmain.cc
index 0eda5e7..586f78e 100644
--- a/src/crmain.cc
+++ b/src/crmain.cc
@@ -934,7 +934,7 @@ void TCreature::CreatureMoveStimulus(uint32 CreatureID, int Type){
SendResult(this->Connection, r);
}
this->ToDoClear();
- this->ToDoWait(this->Combat.EarliestAttackTime);
+ this->ToDoWaitUntil(this->Combat.EarliestAttackTime);
this->ToDoStart();
}
}