Changeset - r28819:f495cf1ac8a1
[Not reviewed]
master
0 1 0
Patric Stout - 2 months ago 2024-02-27 01:41:59
truebrain@openttd.org
Fix: initialize _switch_mode_time so crash-logs before first game have a realistic time (#12184)
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -517,6 +517,8 @@ static const OptionData _options[] = {
 
 */
 
int openttd_main(int argc, char *argv[])
 
{
 
	_switch_mode_time = std::chrono::steady_clock::now();
 

	
 
	std::string musicdriver;
 
	std::string sounddriver;
 
	std::string videodriver;
0 comments (0 inline, 0 general)