diff options
| author | Brian <runningnak3d@gmail.com> | 2010-02-18 02:07:20 -0700 |
|---|---|---|
| committer | Brian <runningnak3d@gmail.com> | 2010-02-18 02:07:20 -0700 |
| commit | a95dd226e435c204c3fdd183336da975139eee5b (patch) | |
| tree | 65280b03928ecc5413d8faa8721af9760ec0b121 /src | |
| parent | 746052f5618dab6f3d54b77ef7c656f637ae46c3 (diff) | |
* Properly display missing vehicle IDs on startup
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/ObjectMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
