Scripts/ToTC: Reset vehiclekit on generic_vehicleAI_toc5::Reset()

Fixes accessory installation
This commit is contained in:
Machiavelli
2011-03-07 20:25:57 +01:00
parent 311d0cf989
commit ebca4c0326
@@ -172,6 +172,9 @@ public:
uiChargeTimer = 5000; uiChargeTimer = 5000;
uiShieldBreakerTimer = 8000; uiShieldBreakerTimer = 8000;
uiBuffTimer = urand(30000,60000); uiBuffTimer = urand(30000,60000);
if (me->GetVehicleKit())
me->GetVehicleKit()->Reset();
} }
void SetData(uint32 uiType, uint32 /*uiData*/) void SetData(uint32 uiType, uint32 /*uiData*/)