From 8ce97758a8b606aeaa725cbbcb3ef5f1d006b568 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Wed, 31 Oct 2018 04:25:33 +0500 Subject: [PATCH] Fix removing of laser spot when look at the sky. --- dlls/CAd/eagle.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dlls/CAd/eagle.cpp b/dlls/CAd/eagle.cpp index c861243c..e4a3b4e4 100644 --- a/dlls/CAd/eagle.cpp +++ b/dlls/CAd/eagle.cpp @@ -1,4 +1,4 @@ -//========= Copyright © 2004-2008, Raven City Team, All rights reserved. ============// +//========= Copyright (c) 2004-2008, Raven City Team, All rights reserved. ============// // // // Purpose: // // // @@ -235,13 +235,6 @@ void CEagle::UpdateSpot( void ) UTIL_TraceLine ( vecSrc, vecSrc + vecAiming * 8192, dont_ignore_monsters, ENT(m_pPlayer->pev), &tr ); UTIL_SetOrigin( m_pEagleLaser->pev, tr.vecEndPos ); - - if ( UTIL_PointContents(tr.vecEndPos) == CONTENT_SKY ) - { - UTIL_Remove( m_pEagleLaser ); - m_pEagleLaser = FALSE; - } - } #endif }