From 1557bbb033ec6a129f3cd6cb69c42d8cd98a5b89 Mon Sep 17 00:00:00 2001 From: Leosky Date: Tue, 11 Jun 2019 12:44:42 +0200 Subject: [PATCH 1/2] Fix for reading time with 1s turns --- src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player.cpp b/src/player.cpp index 1c3d2964523a1..1af57c7583210 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -2976,7 +2976,7 @@ int player::read_speed( bool return_stat_effect ) const ret = 100; } // return_stat_effect actually matters here - return ( return_stat_effect ? ret : ret / 10 ); + return 6*( return_stat_effect ? ret : ret / 10 ); } int player::rust_rate( bool return_stat_effect ) const From 31243be7b7aa0f72d929c3c6eda15e1878d52bb9 Mon Sep 17 00:00:00 2001 From: Leosky Date: Tue, 11 Jun 2019 13:14:35 +0200 Subject: [PATCH 2/2] formating fix --- src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player.cpp b/src/player.cpp index 1af57c7583210..90db9e8587533 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -2976,7 +2976,7 @@ int player::read_speed( bool return_stat_effect ) const ret = 100; } // return_stat_effect actually matters here - return 6*( return_stat_effect ? ret : ret / 10 ); + return 6 * ( return_stat_effect ? ret : ret / 10 ); } int player::rust_rate( bool return_stat_effect ) const