The International Simutrans Forum

 

Author Topic: Hack tooltips when the finance dialog is in the foreground  (Read 278 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1507
  • Languages: ja
Hack tooltips when the finance dialog is in the foreground
« on: February 01, 2021, 01:08:49 PM »
I don't speak English, so please forgive me for explaining with images. (´・ω・`)

First of all, pay attention to what is displayed in the tooltip of the toolbar.

When you open the finance window and it is in the foreground, their contents are hacked by the finance window and all tooltips are replaced with the tooltip that should be in the Building HQ.

However, this bug will not be reproduced for some reason when the headquarter is built.
Also, some tooltips, such as removal tools, are protected from being hacked.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10638
  • Languages: De,EN,JP
Re: Hack tooltips when the finance dialog is in the foreground
« Reply #1 on: February 02, 2021, 03:25:18 AM »
This is due to a static string for all tooltips. It is usually no problem, until a later window overwrite an earlier tooltip. As a hack r9596 will use its own buffer for headquarter tools.

Offline Ranran

  • Devotee
  • *
  • Posts: 1507
  • Languages: ja
Re: Hack tooltips when the finance dialog is in the foreground
« Reply #2 on: February 02, 2021, 09:21:36 AM »
Thank you for fixing it. I was able to confirm that this was successfully fixed.