summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/autowall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/internal_rewrite/autowall.cpp')
-rw-r--r--cheat/internal_rewrite/autowall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cheat/internal_rewrite/autowall.cpp b/cheat/internal_rewrite/autowall.cpp
index 603f94e..21c256e 100644
--- a/cheat/internal_rewrite/autowall.cpp
+++ b/cheat/internal_rewrite/autowall.cpp
@@ -191,8 +191,8 @@ namespace features {
if ( !trace_to_exit( data.enter_trace.endpos, data.direction, pen_end, data.enter_trace, &exit_trace ) ) {
- // if( !( g_csgo.m_trace( )->GetPointContents( pen_end, MASK_SHOT_HULL ) & MASK_SHOT_HULL ) )
- return false;
+ if( !( g_csgo.m_trace( )->GetPointContents( pen_end, MASK_SHOT_HULL ) & MASK_SHOT_HULL ) )
+ return false;
}
bool is_light_surf = ( data.enter_trace.contents >> 7 ) & 1;