replays bug fix

This commit is contained in:
Nikolay Korolev
2020-04-18 23:50:37 +03:00
parent 522d14814f
commit c4cd45d47c
12 changed files with 198 additions and 96 deletions

View File

@ -135,6 +135,7 @@ CPlayerPed::SetupPlayerPed(int32 index)
{
CPlayerPed *player = new CPlayerPed();
CWorld::Players[index].m_pPed = player;
player->RegisterReference((CEntity**)&CWorld::Players[index].m_pPed);
player->SetOrientation(0.0f, 0.0f, 0.0f);