Core/Misc: Fix static analysis issues

Fix coverity id 1382860
This commit is contained in:
jackpoz authored and Aokromes committed 2017-12-08 12:50:28 +01:00
1 parent a7ff3f85ab
commit 814d938194
1 file changed
+2
+2
View File
@@ -1773,6 +1773,8 @@ void GameEventMgr::SetHolidayEventTime(GameEventData& event)
timeInfo.tm_hour = (date >> 6) & 0x1F;
timeInfo.tm_min = date & 0x3F;
timeInfo.tm_sec = 0;
timeInfo.tm_wday = 0;
timeInfo.tm_yday = 0;
timeInfo.tm_isdst = -1;
tm tmCopy = timeInfo;