mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Fix shotgun pulling direction immediately after teleport
This commit is contained in:
parent
ae53eb201e
commit
c276ee1255
|
@ -82,6 +82,7 @@ void CLaser::DoBounce()
|
||||||
|
|
||||||
if (m_TelePos[0] != 0 || m_TelePos[1] != 0)
|
if (m_TelePos[0] != 0 || m_TelePos[1] != 0)
|
||||||
{
|
{
|
||||||
|
m_PrevPos = m_TelePos;
|
||||||
m_Pos = m_TelePos;
|
m_Pos = m_TelePos;
|
||||||
m_TelePos = vec2(0,0);
|
m_TelePos = vec2(0,0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue