mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
[Bug Fix] Fix Spawns Not Parsing Quest on Zone Bootup (#4149)
* Update zone.cpp * Fix --------- Co-authored-by: Natedog2012 <jwalters_06@yahoo.com>
This commit is contained in:
parent
1be9b2cdfd
commit
74f1eac401
@ -805,7 +805,7 @@ int QuestParserCollection::EventBotGlobal(
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIByNPCQuest(uint32 npc_id, std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIByNPCQuest(uint32 npc_id, std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -871,7 +871,7 @@ QuestInterface* QuestParserCollection::GetQIByNPCQuest(uint32 npc_id, std::strin
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIByPlayerQuest(std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIByPlayerQuest(std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -922,7 +922,7 @@ QuestInterface* QuestParserCollection::GetQIByPlayerQuest(std::string& filename)
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIByGlobalNPCQuest(std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIByGlobalNPCQuest(std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -947,7 +947,7 @@ QuestInterface* QuestParserCollection::GetQIByGlobalNPCQuest(std::string& filena
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIByGlobalPlayerQuest(std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIByGlobalPlayerQuest(std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -971,7 +971,7 @@ QuestInterface* QuestParserCollection::GetQIByGlobalPlayerQuest(std::string& fil
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIBySpellQuest(uint32 spell_id, std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIBySpellQuest(uint32 spell_id, std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1023,7 +1023,7 @@ QuestInterface* QuestParserCollection::GetQIBySpellQuest(uint32 spell_id, std::s
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIByItemQuest(std::string item_script, std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIByItemQuest(std::string item_script, std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1075,7 +1075,7 @@ QuestInterface* QuestParserCollection::GetQIByItemQuest(std::string item_script,
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIByEncounterQuest(std::string encounter_name, std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIByEncounterQuest(std::string encounter_name, std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1125,7 +1125,7 @@ QuestInterface* QuestParserCollection::GetQIByEncounterQuest(std::string encount
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIByBotQuest(std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIByBotQuest(std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1176,7 +1176,7 @@ QuestInterface* QuestParserCollection::GetQIByBotQuest(std::string& filename)
|
|||||||
|
|
||||||
QuestInterface* QuestParserCollection::GetQIByGlobalBotQuest(std::string& filename)
|
QuestInterface* QuestParserCollection::GetQIByGlobalBotQuest(std::string& filename)
|
||||||
{
|
{
|
||||||
if (!zone || !zone->IsLoaded()) {
|
if (!zone) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user