diff options
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 49ec6854e9d..538a755e8ad 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1393,6 +1393,10 @@ bool Creature::LoadFromDB(uint32 guid, Map *map) return false; } + if(const CreatureInfo *cInfo = objmgr.GetCreatureTemplate(data->id)) + if(cInfo->VehicleId) + return false; + m_DBTableGuid = guid; if (map->GetInstanceId() != 0) guid = objmgr.GenerateLowGuid(HIGHGUID_UNIT); |
