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

Method setDebugMode

src/Savegame/SavedBattleGame.cpp:867–875  ·  view source on GitHub ↗

* Turns on debug mode. */

Source from the content-addressed store, hash-verified

865 * Turns on debug mode.
866 */
867void SavedBattleGame::setDebugMode()
868{
869 for (int i = 0; i < _mapsize_z * _mapsize_y * _mapsize_x; ++i)
870 {
871 _tiles[i]->setDiscovered(true, 2);
872 }
873
874 _debugMode = true;
875}
876
877/**
878 * Gets the current debug mode.

Callers

nothing calls this directly

Calls 1

setDiscoveredMethod · 0.45

Tested by

no test coverage detected