fixed erroneous assumption

This commit is contained in:
Nikolay Korolev 2020-03-21 15:13:38 +03:00
parent 795e07c882
commit ac610b7e6e

View file

@ -1250,10 +1250,6 @@ void CReplay::RestoreStuffFromMem(void)
memcpy(CRadar::ms_RadarTrace, pRadarBlips, sizeof(CBlip) * NUMRADARBLIPS); memcpy(CRadar::ms_RadarTrace, pRadarBlips, sizeof(CBlip) * NUMRADARBLIPS);
delete[] pRadarBlips; delete[] pRadarBlips;
pRadarBlips = nil; pRadarBlips = nil;
#ifdef FIX_REPLAY_BUGS
// NB: can only be used with fixed bug at the start of PlayBackThisFrameInterpolation
delete FindPlayerPed()->m_pWanted;
#endif
FindPlayerPed()->m_pWanted = new CWanted(PlayerWanted); FindPlayerPed()->m_pWanted = new CWanted(PlayerWanted);
CWorld::Players[0] = PlayerInfo; CWorld::Players[0] = PlayerInfo;
int i = CPools::GetPedPool()->GetSize(); int i = CPools::GetPedPool()->GetSize();