Core/Vehicles: Rename vehicle_accessory to vehicle_template_accessory, and implement a new table named vehicle_accessory to allow accessory definitions based on GUID that will overwrite defeinitions based on entry.

Fixes #Nay
This commit is contained in:
Machiavelli
2011-03-06 23:45:22 +01:00
parent 4437cb9e3c
commit d6ddc6410c
6 changed files with 91 additions and 8 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ void Vehicle::InstallAllAccessories()
{
RemoveAllPassengers(); // We might have aura's saved in the DB with now invalid casters - remove
VehicleAccessoryList const* mVehicleList = sObjectMgr->GetVehicleAccessoryList(m_creatureEntry);
VehicleAccessoryList const* mVehicleList = sObjectMgr->GetVehicleAccessoryList(this);
if (!mVehicleList)
return;