mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[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:
parent
37ba6623bb
commit
7a2764e0fe
6 changed files with 13 additions and 8 deletions
|
|
@ -669,8 +669,7 @@ void WorldSession::HandleResurrectResponseOpcode(WorldPacket & recv_data)
|
|||
if(!GetPlayer()->isRessurectRequestedBy(guid))
|
||||
return;
|
||||
|
||||
GetPlayer()->ResurectUsingRequestData();
|
||||
GetPlayer()->SaveToDB();
|
||||
GetPlayer()->ResurectUsingRequestData(); // will call spawncorpsebones
|
||||
}
|
||||
|
||||
void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue