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

Method getDiagonalWalkingPhase

src/Savegame/BattleUnit.cpp:549–552  ·  view source on GitHub ↗

* Gets the walking phase for diagonal walking. * @return phase this will be 0 or 8 */

Source from the content-addressed store, hash-verified

547 * @return phase this will be 0 or 8
548 */
549int BattleUnit::getDiagonalWalkingPhase() const
550{
551 return (_walkPhase / 8) * 8;
552}
553
554/**
555 * Look at a point.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected