The International Simutrans Forum

 

Author Topic: [r8795] Zero-Dimension-citybuilding in building-placement-dialog crashes game  (Read 2803 times)

0 Members and 1 Guest are viewing this topic.

Offline Leartin at

  • Devotee
  • *
  • Posts: 1269
  • PAK-DEV P192C
  • Languages: DE, EN
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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Makeobj should not compile, indeed.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Should not pak anz more with r8801