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

Fixes accessory installation
This commit is contained in:
Machiavelli
2011-03-07 20:21:29 +01:00
parent 311d0cf989
commit ebca4c0326

View File

@@ -172,6 +172,9 @@ public:
uiChargeTimer = 5000;
uiShieldBreakerTimer = 8000;
uiBuffTimer = urand(30000,60000);
if (me->GetVehicleKit())
me->GetVehicleKit()->Reset();
}
void SetData(uint32 uiType, uint32 /*uiData*/)