Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to fix format check fail
Browse files Browse the repository at this point in the history
NexiusTailer authored Oct 12, 2024

Verified

This commit was signed with the committer’s verified signature.
n2ygk Alan Crosswell
1 parent 18f9f37 commit a227fab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Server/Source/player_pool.hpp
Original file line number Diff line number Diff line change
@@ -871,14 +871,14 @@ struct PlayerPool final : public IPlayerPool, public NetworkEventHandler, public

// Check for invalid camera modes
// https://gtag.sannybuilder.com/sanandreas/camera-modes/
if (aimSync.CamMode < 3u || aimSync.CamMode == 5u || aimSync.CamMode == 6u ||
(aimSync.CamMode >= 9u && aimSync.CamMode <= 13u) || aimSync.CamMode == 17u ||
(aimSync.CamMode >= 19u && aimSync.CamMode <= 21u) ||
(aimSync.CamMode >= 23u && aimSync.CamMode <= 28u) ||
(aimSync.CamMode >= 30u && aimSync.CamMode <= 45u) ||
(aimSync.CamMode >= 48u && aimSync.CamMode <= 50u) ||
aimSync.CamMode == 52u || aimSync.CamMode == 54u ||
aimSync.CamMode == 60u || aimSync.CamMode == 61u || aimSync.CamMode > 64u)
if (aimSync.CamMode < 3u || aimSync.CamMode == 5u || aimSync.CamMode == 6u
|| (aimSync.CamMode >= 9u && aimSync.CamMode <= 13u) || aimSync.CamMode == 17u
|| (aimSync.CamMode >= 19u && aimSync.CamMode <= 21u)
|| (aimSync.CamMode >= 23u && aimSync.CamMode <= 28u)
|| (aimSync.CamMode >= 30u && aimSync.CamMode <= 45u)
|| (aimSync.CamMode >= 48u && aimSync.CamMode <= 50u)
|| aimSync.CamMode == 52u || aimSync.CamMode == 54u
|| aimSync.CamMode == 60u || aimSync.CamMode == 61u || aimSync.CamMode > 64u)
aimSync.CamMode = 4u;

aimSync.PlayerID = player.poolID;

0 comments on commit a227fab

Please sign in to comment.