News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

get_way_dirs always returns zero

Started by Yona-TYT, March 24, 2017, 04:33:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT


When I use "tile_x.get_way_dirs (mo_way)", it always is return zero. Maybe a error?  ???

Dwachs

The parameter should be wt_road (or one of the other wt_* constants) not mo_way.
Parsley, sage, rosemary, and maggikraut.

Yona-TYT

Quote from: Dwachs on March 24, 2017, 07:11:01 AM
The parameter should be wt_road (or one of the other wt_* constants) not mo_way.
OK thanks.  ;)