JGRennison / OpenTTD-patches

OpenTTD - http://www.openttd.org/ - with additional patches
Other
553 stars 127 forks source link

[Bug]: Buying a company through shares announces a company value of £0 in the news. #637

Closed James103 closed 5 months ago

James103 commented 5 months ago

Version of OpenTTD

jgrpp-0.57.0 on Windows 10, 64-bit

Expected result

Buying a company through shares uses the full value of the company in the news. For example, if buying a company valued at £1,000,000, the value announced in the news is that amount.

Actual result

Buying a company through shares uses £0 as the value of the company in the news. This creates news messages like "Transport company merger! - A has been sold to B for £0!"

Steps to reproduce

  1. Enable shares using the game setting.
  2. Start a new map.
  3. Start a new AI.
  4. Wait a few months or years.
  5. Give yourself all needed cash to take over the AI company.
  6. Buy 100% shares in the AI company to take it over.
  7. Check the news log. Notice the transport company merger message with a value of £0.
JGRennison commented 5 months ago

Thanks, this will be fixed in the next release

JGRennison commented 5 months ago

Fixed in the most recent release