Fix #4775: File name of screenshot that is taken at 00:xx is named wrong

Use `GetLocalTime` instead of `GetSystemTime`
This commit is contained in:
TELK authored and Ted John committed 2016-11-11 17:55:41 +00:00
1 parent 0496cf6bd8
commit 7718acfde8
1 file changed
+1 -1
+1 -1
View File
@@ -196,7 +196,7 @@ void platform_get_date_local(rct2_date *out_date)
assert(out_date != NULL);
SYSTEMTIME systime;
GetSystemTime(&systime);
GetLocalTime(&systime);
out_date->day = systime.wDay;
out_date->month = systime.wMonth;
out_date->year = systime.wYear;