mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[11157] Fixed typo in m_GameObjectFirstGuid init.
In result typo new summoned/spawned GO can get unexpected non-free guids with strange results dependent from load status of related static GO spawn (low chance conflict in fact). Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
76ea11489d
commit
85a8a3eed9
2 changed files with 2 additions and 2 deletions
|
|
@ -5634,7 +5634,7 @@ void ObjectMgr::SetHighestGuids()
|
|||
result = WorldDatabase.Query("SELECT MAX(guid) FROM gameobject" );
|
||||
if( result )
|
||||
{
|
||||
m_CreatureFirstGuid = (*result)[0].GetUInt32()+1;
|
||||
m_GameObjectFirstGuid = (*result)[0].GetUInt32()+1;
|
||||
delete result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue