summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2018-12-05 09:21:35 +1300
committerboris <wzn@moneybot.cc>2018-12-05 09:21:35 +1300
commit8f4543089c3e33c1dc9dc1fb5979c205ed66e2e0 (patch)
tree8cdaeb15440350218318d5a9e126b06d73962194
parent691ed7a2621e50a859fee2903b4188ef91af8a24 (diff)
parent27924634ce7d3abb85e3ac6efb4a319e0069f235 (diff)
Merge remote-tracking branch 'origin/master'
-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;