From bb23e58285fa07db7474153eefb8f3e77ae8f5f1 Mon Sep 17 00:00:00 2001 From: GreYFoXGTi Date: Sat, 4 Dec 2010 23:51:03 +0200 Subject: [PATCH] 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 --- src/game/server/entities/laser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/entities/laser.cpp b/src/game/server/entities/laser.cpp index 3b2ed157b..f64515000 100644 --- a/src/game/server/entities/laser.cpp +++ b/src/game/server/entities/laser.cpp @@ -132,7 +132,7 @@ void CLaser::Snap(int SnappingClient) return; CCharacter * SnappingChar = GameServer()->GetPlayerChar(SnappingClient); CCharacter * OwnerChar = 0; - if(m_Owner > 0) + if(m_Owner >= 0) OwnerChar = GameServer()->GetPlayerChar(m_Owner); if(!SnappingChar || !OwnerChar) return;