diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-18 22:50:37 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-18 22:50:37 +0200 |
commit | c4cd45d47c01d89bab28f196f03ed9cb1978005b (patch) | |
tree | adfdb08e894945432bcfe0f84883fb3219fd2a72 /src/peds/PlayerPed.cpp | |
parent | Changed extraOffset value. (diff) | |
download | re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.gz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.bz2 re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.lz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.xz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.zst re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.zip |
Diffstat (limited to 'src/peds/PlayerPed.cpp')
-rw-r--r-- | src/peds/PlayerPed.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp index 0a0fe6a3..c8e24e48 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -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); |