Skip to content

Commit 632dcc2

Browse files
committed
Update CClientPed.cpp
1 parent a7c4ef9 commit 632dcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/CClientPed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4024,7 +4024,7 @@ void CClientPed::ReCreateModel()
40244024

40254025
void CClientPed::ReCreateGameEntity()
40264026
{
4027-
if (!m_shouldRecreate)
4027+
if (!m_shouldRecreate || !m_pPlayerPed)
40284028
return;
40294029

40304030
// Destroy current game entity

0 commit comments

Comments
 (0)