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

Method tookFireDamage

src/Savegame/BattleUnit.cpp:2603–2606  ·  view source on GitHub ↗

* did this unit already take fire damage this turn? * (used to avoid damaging large units multiple times.) * @return ow it burns */

Source from the content-addressed store, hash-verified

2601 * @return ow it burns
2602 */
2603bool BattleUnit::tookFireDamage() const
2604{
2605 return _hitByFire;
2606}
2607
2608/**
2609 * toggle the state of the fire damage tracking boolean.

Callers 1

prepareNewTurnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected