mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +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)
|
if(!pChr)
|
||||||
return;
|
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;
|
pChr->m_DDRaceState = DDRACE_CHEAT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue