Merge pull request #7953 from bencie/fix-rcon-leftright

Fix broken parameter in MoveCharacter
This commit is contained in:
Jupeyy 2024-02-08 21:53:07 +00:00 committed by GitHub
commit f37b58a887
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,7 +77,7 @@ void CGameContext::MoveCharacter(int ClientID, int X, int Y, bool Raw)
if(!pChr)
return;
pChr->Move(vec2((Raw ? 1 : 32) * X, Raw ? 1 : 32) * Y);
pChr->Move(vec2((Raw ? 1 : 32) * X, (Raw ? 1 : 32) * Y));
pChr->m_DDRaceState = DDRACE_CHEAT;
}