Skip to content

Commit

Permalink
Fix compilation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ldpl committed Apr 10, 2023
1 parent b17a7e6 commit a32d526
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cm_changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,18 @@ This is usable for any OpenTTD servers

== CHANGELOG ==

*** 13.1 (10 Apr 2022) ***
*** 13.1 (11 Apr 2022) ***
- Show building preview when funding industries.
- Show industry production on the minimap on high zoom levels in IMBA mode.
- Added two more zoom levels to the minimap.
- Improved performance of the UI for about 20% (ported from JGRPP).
- Show cargo and industry type IDs in industry chains window in developer mode.
- Added cmgamestats console command to show the total number of vehicles in the game.
- Added `cmgamestats` console command to show the total number of vehicles in the game.
- Added a server lag counter in the status bar (when show APM is enabled).
- Improved how regular advertisement tracks stations.
- Fixed crash when moving station blueprint outside the map area.
- Fixed crash in polyrail terraforming mode (#15)
- Fixed clients overlay
- Fixed crash in polyrail terraforming mode (#15).
- Fixed clients overlay.
- Fixed shaded trees and graph background settings not being available in multiplayer.

*** 13.0 (21 Feb 2023) ***
Expand Down
2 changes: 1 addition & 1 deletion src/citymania/cm_command_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void ExecuteFakeCommands(Date date, DateFract date_fract) {
void load_replay_commands(const std::string &filename, std::function<void(const std::string &)> error_func) {
_fake_commands = {};

FILE *f = std::fopen(filename.c_str(), "rb");
FILE *f = fopen(filename.c_str(), "rb");

if (f == nullptr) {
error_func(fmt::format("Cannot open file `{}`: {}", filename, std::strerror(errno)));
Expand Down

0 comments on commit a32d526

Please sign in to comment.