Devilution
Diablo devolved - magic behind the 1996 computer game

◆ path_solid_pieces()

BOOL path_solid_pieces ( PATHNODE pPath,
int  dx,
int  dy 
)

check if stepping from pPath to (dx,dy) cuts a corner.

If you step from A to B, both Xs need to be clear:

AX XB

Returns
true if step is allowed

Definition at line 153 of file path.cpp.