diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-09 18:28:04 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-09 18:28:04 +0200 |
| commit | 215818ddedc02be3a1a5c2be3912abdbcd29dd72 (patch) | |
| tree | 16453999d9380f43a6f436e491e63aa58ac7e764 /internal_rewrite/emit_sound.cpp | |
| parent | 620f39df29fed446ab007e03c7b071f635379f1f (diff) | |
detours etc
Diffstat (limited to 'internal_rewrite/emit_sound.cpp')
| -rw-r--r-- | internal_rewrite/emit_sound.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal_rewrite/emit_sound.cpp b/internal_rewrite/emit_sound.cpp index 79ed3f1..13ae28a 100644 --- a/internal_rewrite/emit_sound.cpp +++ b/internal_rewrite/emit_sound.cpp @@ -1,7 +1,8 @@ #include "base_cheat.hpp" #include "hooks.hpp" #include "settings.hpp" -void __fastcall hooks::emit_sound( void* ecx_, void* edx_, void* filter, int ent, int channel, const char* sound, uint32_t hash, + +/*void __fastcall hooks::emit_sound( void* ecx_, void* edx_, void* filter, int ent, int channel, const char* sound, uint32_t hash, const char* sample, float volume, float attenuation, int seed, int flags, int pitch, const vec3_t* origin, const vec3_t* direction, vec3_t* origins, bool update_pos, float sound_time, int speaker_entry ) { static auto emit_sound_o = g_csgo.m_engine_sound->get_old_function< decltype( &hooks::emit_sound ) >( 5 ); @@ -23,4 +24,4 @@ void __fastcall hooks::emit_sound( void* ecx_, void* edx_, void* filter, int ent emit_sound_o( ecx_, 0, filter, ent, channel, sound, hash, sample, volume, attenuation, seed, flags, pitch, origin, direction, origins, update_pos, sound_time, speaker_entry ); -}
\ No newline at end of file +}*/
\ No newline at end of file |
