Jump to content

[11157] Bug + fix in [11139]


Recommended Posts

Posted

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

×
×
  • 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