// Gets the fuel system for the engines. Replaces the m_fuel_source variable. CHSFuelSystem* CHSSysEngines::GetFuelSource(void) { CHSShip *cShip = (CHSShip *) GetOwnerObject(); if (!cShip) return NULL; return (CHSFuelSystem *)cShip->GetSystems().GetSystem(HSS_FUEL_SYSTEM); }
// Gets the fuel system for the engines. Replaces the m_fuel_source variable. CHSFuelSystem* CHSJumpDrive::GetFuelSource(void) { CHSShip *cShip = (CHSShip *) GetOwnerObject(); if (!cShip) { return NULL; } return (CHSFuelSystem *)cShip->GetSystems().GetSystem(HSS_FUEL_SYSTEM); }