From 716be28826ac61491944490373402c39123a1d75 Mon Sep 17 00:00:00 2001 From: navewindre Date: Mon, 3 Dec 2018 22:03:34 +0100 Subject: boris is cool --- cheat/internal_rewrite/emit_sound.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cheat/internal_rewrite/emit_sound.cpp') 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 -- cgit v1.2.3