2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-29 08:05:50 +03:00

Fixed #2: NPE in CPlayingEngExtInterceptor::setCurrentTm()

This commit is contained in:
dreamstalker 2015-05-09 13:51:44 +04:00
parent 29e76e1420
commit 78b1785e7d

View File

@ -527,7 +527,7 @@ void CPlayingEngExtInterceptor::setCurrentHostent(hostent_data_t* data) {
}
void CPlayingEngExtInterceptor::setCurrentTm(struct tm* t) {
memcpy(&m_CurrentTm, 0, sizeof(m_CurrentTm));
memcpy(&m_CurrentTm, t, sizeof(m_CurrentTm));
}
void CPlayingEngExtInterceptor::SteamAPI_SetBreakpadAppID(uint32 unAppID) {