missing ifded

This commit is contained in:
Nikolay Korolev 2020-04-19 01:20:14 +03:00
parent 4c133a95bd
commit bcc3a8b6c7

View File

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