Working on shared memory stuff - removed some stuff dealing with older code and loading spells from the non-database

This commit is contained in:
KimLS
2013-02-18 19:00:07 -08:00
parent 70543c2b8a
commit 0d16361a40
30 changed files with 162 additions and 575 deletions
-9
View File
@@ -62,9 +62,6 @@ extern volatile bool ZoneLoaded;
extern WorldServer worldserver;
extern NetConnection net;
extern uint32 numclients;
#if !defined(NEW_LoadSPDat) && !defined(DB_LoadSPDat)
extern SPDat_Spell_Struct spells[SPDAT_RECORDS];
#endif
extern bool spells_loaded;
extern PetitionList petition_list;
extern DBAsync *dbasync;
@@ -3259,12 +3256,6 @@ BulkZoneSpawnPacket::BulkZoneSpawnPacket(Client* iSendTo, uint32 iMaxSpawnsPerPa
data = 0;
pSendTo = iSendTo;
pMaxSpawnsPerPacket = iMaxSpawnsPerPacket;
#ifdef _EQDEBUG
if (pMaxSpawnsPerPacket <= 0 || pMaxSpawnsPerPacket > MAX_SPAWNS_PER_PACKET) {
// ok, this *cant* be right =p
ThrowError("Error in BulkZoneSpawnPacket::BulkZoneSpawnPacket(): pMaxSpawnsPerPacket outside range that makes sense");
}
#endif
}
BulkZoneSpawnPacket::~BulkZoneSpawnPacket() {