Core/Misc: Fix static analysis issues
Fix coverity id 1382860
This commit is contained in:
1 parent
a7ff3f85ab
commit
814d938194
1 file changed
+2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user