mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 16:02:47 +00:00
Merge pull request #474 from Nick007J/master
Bug fixes, mostly replay; added RegisterReference for player ped pointer
This commit is contained in:
commit
0f07a323c9
12 changed files with 200 additions and 96 deletions
|
@ -135,6 +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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue