MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getLowFuel

Method getLowFuel

src/Savegame/Craft.cpp:562–565  ·  view source on GitHub ↗

* Returns whether the craft is currently low on fuel * (only has enough to head back to base). * @return True if it's low, false otherwise. */

Source from the content-addressed store, hash-verified

560 * @return True if it's low, false otherwise.
561 */
562bool Craft::getLowFuel() const
563{
564 return _lowFuel;
565}
566
567/**
568 * Changes whether the craft is currently low on fuel

Callers 5

GeoscapeCraftStateMethod · 0.80
time10MinutesMethod · 0.80
time30MinutesMethod · 0.80
moveMethod · 0.80
lstCraftsLeftClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected