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

Method getTurnFlag

src/Savegame/BattleItem.cpp:507–510  ·  view source on GitHub ↗

* Gets the "dropped on non-player turn" flag. This is to determine whether or not * aliens should attempt to pick this item up, as items dropped by the player may be "honey traps". * @return True if the aliens dropped the item. */

Source from the content-addressed store, hash-verified

505 * @return True if the aliens dropped the item.
506 */
507bool BattleItem::getTurnFlag() const
508{
509 return _droppedOnAlienTurn;
510}
511
512/**
513 * Sets the "dropped on non-player turn" flag. This is set when the item is dropped in the battlescape

Callers 1

surveyItemsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected