mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 14:32:24 +00:00
We want GetEncounterName here instead
This commit is contained in:
parent
43fade82e5
commit
3e7d4d1d6b
@ -603,7 +603,7 @@ void EntityList::EncounterProcess()
|
|||||||
while (it != encounter_list.end()) {
|
while (it != encounter_list.end()) {
|
||||||
if (!it->second->Process()) {
|
if (!it->second->Process()) {
|
||||||
// if Process is returning false here, we probably just got called from ReloadQuests .. oh well
|
// if Process is returning false here, we probably just got called from ReloadQuests .. oh well
|
||||||
parse->RemoveEncounter(it->second->GetName());
|
parse->RemoveEncounter(it->second->GetEncounterName());
|
||||||
safe_delete(it->second);
|
safe_delete(it->second);
|
||||||
free_ids.push(it->first);
|
free_ids.push(it->first);
|
||||||
it = encounter_list.erase(it);
|
it = encounter_list.erase(it);
|
||||||
@ -2567,7 +2567,7 @@ void EntityList::RemoveAllEncounters()
|
|||||||
{
|
{
|
||||||
auto it = encounter_list.begin();
|
auto it = encounter_list.begin();
|
||||||
while (it != encounter_list.end()) {
|
while (it != encounter_list.end()) {
|
||||||
parse->RemoveEncounter(it->second->GetName());
|
parse->RemoveEncounter(it->second->GetEncounterName());
|
||||||
safe_delete(it->second);
|
safe_delete(it->second);
|
||||||
free_ids.push(it->first);
|
free_ids.push(it->first);
|
||||||
it = encounter_list.erase(it);
|
it = encounter_list.erase(it);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user