News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

[120.3] Game crash when clicking other company's finance window

Started by HyperSim, July 13, 2018, 04:11:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HyperSim

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.

Dwachs

Parsley, sage, rosemary, and maggikraut.