The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: iv5343 on November 15, 2023, 04:11:57 PM

Title: makeobj way_writer.cc
Post by: iv5343 on November 15, 2023, 04:11:57 PM
There's a bug in way_writer.cc line 95 affecting the makeobj tool:

sprintf(buf, "%simage[new2][0]", image_type[backtofront]);
This is part of a check if the dat file lists switch images and this line is in the "no seasons" branch so the check always fails.  It should use "%simage[new2]".
Title: Re: makeobj way_writer.cc
Post by: ceeac on November 16, 2023, 07:04:39 PM
Should be fixed in r11004, thanks for the report.