[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:
oceanor 2011-02-13 20:41:18 +03:00 committed by VladimirMangos
parent 76ea11489d
commit 85a8a3eed9
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}