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

Method setTuMode

src/Battlescape/Inventory.cpp:102–105  ·  view source on GitHub ↗

* Changes the inventory's Time Units mode. * When True, inventory actions cost soldier time units (for battle). * When False, inventory actions don't cost anything (for pre-equip). * @param tu Time Units mode. */

Source from the content-addressed store, hash-verified

100 * @param tu Time Units mode.
101 */
102void Inventory::setTuMode(bool tu)
103{
104 _tu = tu;
105}
106
107/**
108 * Changes the unit to display the inventory of.

Callers 1

InventoryStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected