mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix comment grammar
Co-authored-by: Dennis Felsing <dennis@felsing.org>
This commit is contained in:
parent
b10030391d
commit
e36f2bf7bc
|
@ -365,7 +365,7 @@ void CCharacterCore::Tick(bool UseInput, bool DoDeferredTick)
|
||||||
// release_hooked();
|
// release_hooked();
|
||||||
}
|
}
|
||||||
|
|
||||||
// don't do this hook routine when we are hook to a player
|
// don't do this hook routine when we are already hooked to a player
|
||||||
if(m_HookedPlayer == -1 && distance(m_HookPos, m_Pos) > 46.0f)
|
if(m_HookedPlayer == -1 && distance(m_HookPos, m_Pos) > 46.0f)
|
||||||
{
|
{
|
||||||
vec2 HookVel = normalize(m_HookPos - m_Pos) * m_Tuning.m_HookDragAccel;
|
vec2 HookVel = normalize(m_HookPos - m_Pos) * m_Tuning.m_HookDragAccel;
|
||||||
|
|
Loading…
Reference in a new issue