The International Simutrans Forum

 

Author Topic: [120.3] Game crash when clicking other company's finance window  (Read 179 times)

0 Members and 1 Guest are viewing this topic.

Offline HyperSim

  • *
  • Posts: 104
  • Languages: EN, JP
Hello, everyone.
We found that if you name a company too long name, the game will crash when you try to open the finance window.
In simplay.h, the size of player_name_buf is defined 256 bytes, but in money_frame.h,  the size of money_frame_title is only 80 bytes.
This is why this crash occurs.
Please check and fix it.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4494
  • Languages: EN, DE, AT
Re: [120.3] Game crash when clicking other company's finance window
« Reply #1 on: July 13, 2018, 07:16:14 PM »
should be fixed in r8543