The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Leartin on July 28, 2019, 11:14:56 AM

Title: [r8795] Zero-Dimension-citybuilding in building-placement-dialog crashes game
Post by: Leartin on July 28, 2019, 11:14:56 AM
I accidentially created a citybuilding with a zero in the dimensions (dims=2,0,2). Makeobj packed it, and the game started with it fine. However, when I tried to click on it in the building placement dialog, the game crashed.

If possible, could this be prevented somehow? Either already with makeobj (not allowing dims lower 1) or within the game.
Title: Re: [r8795] Zero-Dimension-citybuilding in building-placement-dialog crashes game
Post by: prissi on August 04, 2019, 11:59:24 AM
Makeobj should not compile, indeed.
Title: Re: [r8795] Zero-Dimension-citybuilding in building-placement-dialog crashes game
Post by: prissi on August 06, 2019, 01:13:43 PM
Should not pak anz more with r8801