summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/emit_sound.cpp
diff options
context:
space:
mode:
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