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

Method setBattleState

src/Savegame/SavedBattleGame.cpp:908–911  ·  view source on GitHub ↗

* Sets the BattlescapeState. * @param bs A Pointer to a BattlescapeState. */

Source from the content-addressed store, hash-verified

906 * @param bs A Pointer to a BattlescapeState.
907 */
908void SavedBattleGame::setBattleState(BattlescapeState *bs)
909{
910 _battleState = bs;
911}
912
913/**
914 * Resets all the units to their current standing tile(s).

Callers 3

btnOkClickMethod · 0.80
restartMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected