Core/Vehicles: Add some missing power types, thanks to Heisenberg, closes issue 3841

--HG--
branch : trunk
This commit is contained in:
Shocker
2010-10-12 21:59:11 +03:00
parent 66dec6d86f
commit 91aa72a5c6
2 changed files with 5 additions and 1 deletions

View File

@@ -76,8 +76,10 @@ void Vehicle::Install()
switch (m_vehicleInfo->m_powerType)
{
case POWER_STEAM:
case POWER_HEAT:
case POWER_BLOOD:
case POWER_OOZE:
case POWER_WRATH:
me->setPowerType(POWER_ENERGY);
me->SetMaxPower(POWER_ENERGY, 100);
break;

View File

@@ -29,8 +29,10 @@ enum PowerType
{
POWER_STEAM = 61,
POWER_PYRITE = 41,
POWER_HEAT = 101,
POWER_OOZE = 121,
POWER_BLOOD = 141
POWER_BLOOD = 141,
POWER_WRATH = 142
};
enum VehicleFlags