mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix: Allow teleporting players even when they touch a stopper (Thanks to Flummi)
This commit is contained in:
parent
9e53ed5367
commit
89b55a30f9
|
@ -298,6 +298,8 @@ void CGameContext::ConTeleport(IConsole::IResult *pResult, void *pUserData)
|
|||
if (pChr && pSelf->GetPlayerChar(TeleTo))
|
||||
{
|
||||
pChr->Core()->m_Pos = pSelf->m_apPlayers[TeleTo]->m_ViewPos;
|
||||
pChr->m_Pos = pSelf->m_apPlayers[TeleTo]->m_ViewPos;
|
||||
pChr->m_PrevPos = pSelf->m_apPlayers[TeleTo]->m_ViewPos;
|
||||
pChr->m_DDRaceState = DDRACE_CHEAT;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue