News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

BUG FIX: fix some bugs of wayobj

Started by poppo, April 19, 2026, 03:44:06 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

poppo

I fix two bugs wayobj_update.patch :
  • We cannot remove own wayobj which on another's way
  • If wayobj and way owner are different, wayobj owner cannot get wayobj toll

prissi


poppo

Thank you! but I'm sorry my code has a mistake:
the default value of tool_intern_koord_to_weg_grund() (l316 in simtool.cc) should be check_for_wayobj=false because wayobj owner should not be checked by building and removing way.

prissi