[8829] some more places where we call redundant SaveToDB

i also added now my assert with which i've found them..
maybe someone want's to look at other cases too :)
This commit is contained in:
balrok 2009-11-18 18:53:47 +01:00
parent 37ba6623bb
commit 7a2764e0fe
6 changed files with 13 additions and 8 deletions

View file

@ -3511,7 +3511,6 @@ bool ChatHandler::HandleReviveCommand(const char* args)
{
target->ResurrectPlayer(0.5f);
target->SpawnCorpseBones();
target->SaveToDB();
}
else
// will resurrected at login without corpse
@ -6394,4 +6393,4 @@ bool ChatHandler::HandleModifyGenderCommand(const char *args)
ChatHandler(player).PSendSysMessage(LANG_YOUR_GENDER_CHANGED, gender_full, GetNameLink().c_str());
return true;
}
}