mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
[Bug Fix] Fix infinite loop in QuestManager::stoptimer() (#4703)
This commit is contained in:
parent
4d73b7d641
commit
94e1b4edfa
@ -680,7 +680,7 @@ void QuestManager::stoptimer(const std::string& timer_name, Mob* m)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto e = QTimerList.begin(); e != QTimerList.end();) {
|
for (auto e = QTimerList.begin(); e != QTimerList.end(); ++e) {
|
||||||
if (e->mob && e->mob == m) {
|
if (e->mob && e->mob == m) {
|
||||||
parse->EventMob(EVENT_TIMER_STOP, m, nullptr, [&]() { return timer_name; });
|
parse->EventMob(EVENT_TIMER_STOP, m, nullptr, [&]() { return timer_name; });
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user