The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: MCollett on June 09, 2013, 09:38:49 AM

Title: 11.9007 (commit 0567cc5) bugs
Post by: MCollett on June 09, 2013, 09:38:49 AM
Two bugs in 11.x branch commit 0567cc5 from GitHub, compiled for Mac OS X 10.8.
Best wishes,
Matthew
Title: Re: 11.9007 (commit 0567cc5) bugs
Post by: jamespetts on June 09, 2013, 12:10:47 PM
Thank you for the reports. No. 2 was actually an integer division by zero, which I have now fixed on the 11.x branch. No. 1 is a rather strange issue that I have not yet tracked down related to what appears to be inconsistent treatment of distances for the purpose of factory coverage.
Title: Re: 11.9007 (commit 0567cc5) bugs
Post by: neroden on June 10, 2013, 09:55:43 PM
Regarding bug #1, I believe I have found and fixed this.

The factory coverage code is *painfully hard to get right* and should probably never have been implemented in the first place.
---
The fix is again on my emergency-depot-bugfix branch.
Title: Re: 11.9007 (commit 0567cc5) bugs
Post by: jamespetts on June 10, 2013, 11:09:19 PM
Thank you for the fix - much appreciated.