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

Method consumeFuel

src/Savegame/Craft.cpp:706–709  ·  view source on GitHub ↗

* Consumes the craft's fuel every 10 minutes * while it's on the air. */

Source from the content-addressed store, hash-verified

704 * while it's on the air.
705 */
706void Craft::consumeFuel()
707{
708 setFuel(_fuel - getFuelConsumption());
709}
710
711/**
712 * Repairs the craft's damage every hour

Callers 1

time10MinutesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected