mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +00:00
Moved zonedatabase functions out of corpse.cpp
Conversion portion mostly complete Some header readability cleanup Some function renaming Struct renaming Many variable renaming MySQL error log for all of QueryDatabase Corpse table renaming Corpse table field renaming Most corpse database functions redone
This commit is contained in:
@@ -704,7 +704,7 @@ void WorldServer::Process() {
|
||||
|
||||
_log(SPELLS__REZ, "Found corpse. Marking corpse as rezzed.");
|
||||
// I don't know why Rezzed is not set to true in CompleteRezz().
|
||||
corpse->Rezzed(true);
|
||||
corpse->IsRezzed(true);
|
||||
corpse->CompleteRezz();
|
||||
}
|
||||
}
|
||||
@@ -1382,7 +1382,7 @@ void WorldServer::Process() {
|
||||
|
||||
case ServerOP_SpawnPlayerCorpse: {
|
||||
SpawnPlayerCorpse_Struct* s = (SpawnPlayerCorpse_Struct*)pack->pBuffer;
|
||||
Corpse* NewCorpse = database.LoadPlayerCorpse(s->player_corpse_id);
|
||||
Corpse* NewCorpse = database.LoadCharacterCorpse(s->player_corpse_id);
|
||||
if(NewCorpse)
|
||||
NewCorpse->Spawn();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user