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

Method setUnitsFalling

src/Savegame/SavedBattleGame.cpp:1528–1531  ·  view source on GitHub ↗

* Toggles the switch that says "there are units falling, start the fall state". * @param fall True if there are any units falling in the battlescape. */

Source from the content-addressed store, hash-verified

1526 * @param fall True if there are any units falling in the battlescape.
1527 */
1528void SavedBattleGame::setUnitsFalling(bool fall)
1529{
1530 _unitsFalling = fall;
1531}
1532
1533/**
1534 * Returns whether there are any units falling in the battlescape.

Callers 1

thinkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected