git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67233 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -134,7 +134,7 @@ int do_astar(void)
dist_to_nbr[ct_dir]);
}
if (!is_worked) {
- if (ct_dir > 3 && slope[ct_dir] > 0) {
+ if (ct_dir > 3 && slope[ct_dir] >= 0) {
if (slope[nbr_ew[ct_dir]] >= 0) {
/* slope to ew nbr > slope to center */
if (slope[ct_dir] <
@@ -87,7 +87,7 @@ int do_astar(void)