diff options
Diffstat (limited to 'src/map/path.c')
-rw-r--r-- | src/map/path.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/path.c b/src/map/path.c index d8096ad43..9aeb108fa 100644 --- a/src/map/path.c +++ b/src/map/path.c @@ -248,12 +248,8 @@ bool path_search(struct walkpath_data *wpd, int16 m, int16 x0, int16 y0, int16 x return false; md = &map->list[m]; -#ifdef CELL_NOSTACK //Do not check starting cell as that would get you stuck. - if (x0 < 0 || x0 >= md->xs || y0 < 0 || y0 >= md->ys) -#else if (x0 < 0 || x0 >= md->xs || y0 < 0 || y0 >= md->ys /*|| md->getcellp(md,x0,y0,cell)*/) -#endif return false; // Check destination cell |