mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 09:33:47 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -1417,6 +1417,7 @@ void Creature::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask)
|
||||
trans->Append(stmt);
|
||||
|
||||
WorldDatabase.CommitTransaction(trans);
|
||||
sScriptMgr->OnCreatureSaveToDB(this);
|
||||
}
|
||||
|
||||
void Creature::SelectLevel(bool changelevel)
|
||||
|
||||
@@ -1062,6 +1062,7 @@ void GameObject::SaveToDB(uint32 mapid, uint8 spawnMask, uint32 phaseMask, bool
|
||||
}
|
||||
|
||||
WorldDatabase.CommitTransaction(trans);
|
||||
sScriptMgr->OnGameObjectSaveToDB(this);
|
||||
}
|
||||
|
||||
bool GameObject::LoadGameObjectFromDB(ObjectGuid::LowType spawnId, Map* map, bool addToMap)
|
||||
|
||||
Reference in New Issue
Block a user