MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / PopActiveStep

Function PopActiveStep

Source/engine/path.cpp:156–160  ·  view source on GitHub ↗

* @brief pop and return a node from the pnode_tblptr stack */

Source from the content-addressed store, hash-verified

154 * @brief pop and return a node from the pnode_tblptr stack
155 */
156uint16_t PopActiveStep()
157{
158 gdwCurPathStep--;
159 return pnode_tblptr[gdwCurPathStep];
160}
161
162/**
163 * @brief return 2 if pPath is horizontally/vertically aligned with (dx,dy), else 3

Callers 1

SetCoordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected