The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: eipi on October 26, 2013, 07:00:50 PM

Title: 2 fixes for fabrikbauer
Post by: eipi on October 26, 2013, 07:00:50 PM
This patch fixes 2 issues in fabrikbauer_t:
Title: Re: 2 fixes for fabrikbauer
Post by: Dwachs on October 26, 2013, 07:15:50 PM
thank you, nice spotted! Deletion of besch-pointers does not make much sense, as these besch classes lack proper destructors, that said, no child nodes will be deleted.
Title: Re: 2 fixes for fabrikbauer
Post by: eipi on October 28, 2013, 02:32:21 PM
Oh ok, I just thought it was consistent with how brueckenbauer_t (etc.) handle duplicated beschs.
But the bug in increase_industry_density() is really a bug, though, I just double checked  ;)
Title: Re: 2 fixes for fabrikbauer
Post by: Dwachs on October 28, 2013, 05:10:03 PM
you are right - in r6860 (including delete old besch and correct spelling)