Core/Vehicles: Add some missing power types, thanks to Heisenberg, closes issue 3841
--HG-- branch : trunk
This commit is contained in:
@@ -76,8 +76,10 @@ void Vehicle::Install()
|
|||||||
switch (m_vehicleInfo->m_powerType)
|
switch (m_vehicleInfo->m_powerType)
|
||||||
{
|
{
|
||||||
case POWER_STEAM:
|
case POWER_STEAM:
|
||||||
|
case POWER_HEAT:
|
||||||
case POWER_BLOOD:
|
case POWER_BLOOD:
|
||||||
case POWER_OOZE:
|
case POWER_OOZE:
|
||||||
|
case POWER_WRATH:
|
||||||
me->setPowerType(POWER_ENERGY);
|
me->setPowerType(POWER_ENERGY);
|
||||||
me->SetMaxPower(POWER_ENERGY, 100);
|
me->SetMaxPower(POWER_ENERGY, 100);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -29,8 +29,10 @@ enum PowerType
|
|||||||
{
|
{
|
||||||
POWER_STEAM = 61,
|
POWER_STEAM = 61,
|
||||||
POWER_PYRITE = 41,
|
POWER_PYRITE = 41,
|
||||||
|
POWER_HEAT = 101,
|
||||||
POWER_OOZE = 121,
|
POWER_OOZE = 121,
|
||||||
POWER_BLOOD = 141
|
POWER_BLOOD = 141,
|
||||||
|
POWER_WRATH = 142
|
||||||
};
|
};
|
||||||
|
|
||||||
enum VehicleFlags
|
enum VehicleFlags
|
||||||
|
|||||||
Reference in New Issue
Block a user