From b6cb716452eaf9cdffed3055c032ca443e179f57 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sat, 26 Oct 2019 14:35:45 +0300 Subject: Fixed CGameLogic::PassTime types --- src/control/GameLogic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp index ed101cad..0ed5d5cf 100644 --- a/src/control/GameLogic.cpp +++ b/src/control/GameLogic.cpp @@ -30,7 +30,7 @@ CGameLogic::InitAtStartOfGame() void CGameLogic::PassTime(uint32 time) { - uint8 minutes, hours, days; + int32 minutes, hours, days; minutes = time + CClock::GetMinutes(); hours = CClock::GetHours(); -- cgit v1.2.3