Jump to content

[11157] Bug + fix in [11139]


Guest Oceanor

Recommended Posts

row 5634 file ObjectMgr.cpp

    
result = WorldDatabase.Query("SELECT MAX(guid) FROM gameobject" );
   if( result )
   {
       m_CreatureFirstGuid = (*result)[0].GetUInt32()+1;
       delete result;
   }

First gameobject guid is not set, and instead creature first creature guid is overwritten by GO max guid.

Should be:

result = WorldDatabase.Query("SELECT MAX(guid) FROM gameobject" );
   if( result )
   {
       m_GameObjectFirstGuid = (*result)[0].GetUInt32()+1;
       delete result;
   }

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use