* Properly display missing vehicle IDs on startup

--HG--
branch : trunk
This commit is contained in:
Brian
2010-02-18 02:07:20 -07:00
parent 746052f561
commit a95dd226e4

View File

@@ -732,7 +732,7 @@ void ObjectMgr::LoadCreatureTemplates()
if (cInfo->VehicleId)
{
VehicleEntry const* vehId = sVehicleStore.LookupEntry(cInfo->Entry);
VehicleEntry const* vehId = sVehicleStore.LookupEntry(cInfo->VehicleId);
if (!vehId)
sLog.outErrorDb("Creature (Entry: %u) has a non-existing VehicleId (%u). This *WILL* cause the client to freeze!", cInfo->Entry, cInfo->VehicleId);
}