*Update to Mangos 7205.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-30 19:26:53 -06:00
parent 1707d1e5ae
commit 2096e645fe
6 changed files with 15 additions and 49 deletions
-6
View File
@@ -5513,11 +5513,6 @@ void ObjectMgr::SetHighestGuids()
delete result;
}
// pet guids are not saved to DB, set to 0 (pet guid != pet id)
m_hiPetGuid = 0;
// same for vehicles
m_hiVehicleGuid = 0;
result = CharacterDatabase.Query( "SELECT MAX(guid) FROM item_instance" );
if( result )
{
@@ -5671,7 +5666,6 @@ uint32 ObjectMgr::GenerateLowGuid(HighGuid guidhigh)
}
return m_hiPetGuid++;
case HIGHGUID_VEHICLE:
++m_hiVehicleGuid;
if(m_hiVehicleGuid>=0x00FFFFFF)
{
sLog.outError("Vehicle guid overflow!! Can't continue, shutting down server. ");