mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Merge pull request #7953 from bencie/fix-rcon-leftright
Fix broken parameter in MoveCharacter
This commit is contained in:
commit
f37b58a887
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue