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

Method togglePersonalLighting

src/Battlescape/TileEngine.cpp:2381–2385  ·  view source on GitHub ↗

* Toggles personal lighting on / off. */

Source from the content-addressed store, hash-verified

2379 * Toggles personal lighting on / off.
2380 */
2381void TileEngine::togglePersonalLighting()
2382{
2383 _personalLighting = !_personalLighting;
2384 calculateUnitLighting();
2385}
2386
2387/**
2388 * Calculates the distance between 2 points. Rounded up to first INT.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected