Author Topic: get_way_dirs always returns zero  (Read 180 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

get_way_dirs always returns zero
« on: March 24, 2017, 04:33:27 AM »

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

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4150
  • Total likes: 140
  • Helpful: 147
  • Languages: EN, DE, AT
Re: get_way_dirs always returns zero
« Reply #1 on: March 24, 2017, 07:11:01 AM »
The parameter should be wt_road (or one of the other wt_* constants) not mo_way.
Parsley, sage, rosemary, and maggikraut.

Offline Yona-TYT

Re: get_way_dirs always returns zero
« Reply #2 on: March 24, 2017, 10:07:09 AM »
The parameter should be wt_road (or one of the other wt_* constants) not mo_way.
OK thanks.  ;)