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

Method setWasHit

src/Battlescape/AlienBAIState.cpp:395–398  ·  view source on GitHub ↗

* sets the "was hit" flag to true. */

Source from the content-addressed store, hash-verified

393 * sets the "was hit" flag to true.
394 */
395void AlienBAIState::setWasHit()
396{
397 _wasHit = true;
398}
399
400/*
401 * Gets whether the unit was hit.

Callers 1

thinkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected