Skip to content

Commit f9919a3

Browse files
authored
Merge pull request #258 from patrikjuvonen/issue-8540
0008540: fix spawnPlayer rotation not setting if an object is near the spawn point
2 parents 8663aad + e055729 commit f9919a3

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
@@ -722,7 +722,7 @@ void CClientPed::Spawn(const CVector& vecPosition, float fRotation, unsigned sho
722722
// Set some states
723723
SetFrozen(false);
724724
Teleport(vecPosition);
725-
SetCurrentRotation(fRotation);
725+
SetCurrentRotationNew(fRotation);
726726
SetHealth(GetMaxHealth());
727727
RemoveAllWeapons();
728728
SetArmor(0);

0 commit comments

Comments
 (0)