mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
* Properly display missing vehicle IDs on startup
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user