diff --git a/src/game/server/ddracecommands.cpp b/src/game/server/ddracecommands.cpp index e3105c0e6..b9c689f89 100644 --- a/src/game/server/ddracecommands.cpp +++ b/src/game/server/ddracecommands.cpp @@ -261,6 +261,8 @@ void CGameContext::ConToTeleporter(IConsole::IResult *pResult, void *pUserData) if (pChr) { pChr->Core()->m_Pos = TelePos; + pChr->m_Pos = pSelf->m_apPlayers[TeleTo]->m_ViewPos; + pChr->m_PrevPos = pSelf->m_apPlayers[TeleTo]->m_ViewPos; pChr->m_DDRaceState = DDRACE_CHEAT; } } @@ -279,6 +281,8 @@ void CGameContext::ConToCheckTeleporter(IConsole::IResult *pResult, void *pUserD if (pChr) { pChr->Core()->m_Pos = TelePos; + pChr->m_Pos = pSelf->m_apPlayers[TeleTo]->m_ViewPos; + pChr->m_PrevPos = pSelf->m_apPlayers[TeleTo]->m_ViewPos; pChr->m_DDRaceState = DDRACE_CHEAT; } }