diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-19 15:56:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 15:56:39 +0200 |
commit | 0f07a323c9a0a97429c551808a38249a6b8ad1ff (patch) | |
tree | 563add6e54b45ac77ab863815a8750afed24bb1e /src/peds/PlayerPed.cpp | |
parent | Merge pull request #475 from erorcun/erorcun (diff) | |
parent | missing ifded (diff) | |
download | re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.gz re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.bz2 re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.lz re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.xz re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.zst re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/PlayerPed.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp index 0a0fe6a3..962c83df 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -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); |