From a95dd226e435c204c3fdd183336da975139eee5b Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 18 Feb 2010 02:07:20 -0700 Subject: [PATCH] * Properly display missing vehicle IDs on startup --HG-- branch : trunk --- src/game/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 3de2bf13232..e19c5e850e4 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -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); }