summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/emit_sound.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-12-03 22:03:34 +0100
committernavewindre <boneyaard@gmail.com>2018-12-03 22:03:41 +0100
commit716be28826ac61491944490373402c39123a1d75 (patch)
tree60614ff806843ccfde19c95bd28a8a25a230a54f /cheat/internal_rewrite/emit_sound.cpp
parent4047e9083ef1731847bcd75f361f2d611fe5e401 (diff)
boris is cool
Diffstat (limited to 'cheat/internal_rewrite/emit_sound.cpp')
-rw-r--r--cheat/internal_rewrite/emit_sound.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/cheat/internal_rewrite/emit_sound.cpp b/cheat/internal_rewrite/emit_sound.cpp
index f27bb4c..e087302 100644
--- a/cheat/internal_rewrite/emit_sound.cpp
+++ b/cheat/internal_rewrite/emit_sound.cpp
@@ -17,12 +17,7 @@ void __fastcall hooks::emit_sound( void* ecx_, void* edx_, void* filter, int ent
if( g_settings.misc.no_sound && strstr( sample, xors( "weapon" ) ) )
volume = 0.f;
-
- // todo: fix this not being drawn
- // it's not drawn cause the option isn't in menu you dumbhead
- if( g_settings.visuals.sound && ( strstr( sample, xors( "player/footsteps" ) ) || strstr( sample, xors( "player/land" ) ) ) && origin ) {
- g_cheat.m_visuals.store_sound( ent, *origin );
- }
+
//a