mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
by reading this you have wasted 2 seconds you are not getting back
if you looked inside this commit then you have wasted 6 seconds that you are never getting back as well :p
This commit is contained in:
parent
0a0e1df557
commit
bb23e58285
|
@ -132,7 +132,7 @@ void CLaser::Snap(int SnappingClient)
|
||||||
return;
|
return;
|
||||||
CCharacter * SnappingChar = GameServer()->GetPlayerChar(SnappingClient);
|
CCharacter * SnappingChar = GameServer()->GetPlayerChar(SnappingClient);
|
||||||
CCharacter * OwnerChar = 0;
|
CCharacter * OwnerChar = 0;
|
||||||
if(m_Owner > 0)
|
if(m_Owner >= 0)
|
||||||
OwnerChar = GameServer()->GetPlayerChar(m_Owner);
|
OwnerChar = GameServer()->GetPlayerChar(m_Owner);
|
||||||
if(!SnappingChar || !OwnerChar)
|
if(!SnappingChar || !OwnerChar)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue