mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-03 03:50:40 +00:00
[Code] PetitionList Global to Singleton Cleanup (#4944)
* [Code] PetitionList Global to Singleton Cleanup * Update worldserver.cpp * Update worldserver.cpp
This commit is contained in:
+1
-3
@@ -38,8 +38,6 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
||||
#include "petitions.h"
|
||||
#include "worldserver.h"
|
||||
|
||||
PetitionList petition_list;
|
||||
|
||||
extern WorldServer worldserver;
|
||||
|
||||
void Petition::SendPetitionToPlayer(Client* clientto) {
|
||||
@@ -288,7 +286,7 @@ void ZoneDatabase::RefreshPetitionsFromDB()
|
||||
newpet->SetCheckedOut(true);
|
||||
else
|
||||
newpet->SetCheckedOut(false);
|
||||
petition_list.AddPetition(newpet);
|
||||
PetitionList::Instance()->AddPetition(newpet);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user