diff options
| author | JustSomePwner <crotchyalt@gmail.com> | 2018-09-01 16:43:05 +0200 |
|---|---|---|
| committer | JustSomePwner <crotchyalt@gmail.com> | 2018-09-01 16:43:05 +0200 |
| commit | 30485d2a5eb12048ebf935b02cbb048da535670c (patch) | |
| tree | 96a191371b02690a7aaa1258532340ebcb8e09c3 /internal_rewrite/simulate.cpp | |
| parent | a6c44012de7e5ed71066b6e8637afdbddf8ea8dd (diff) | |
fixing hungry nave code
Diffstat (limited to 'internal_rewrite/simulate.cpp')
| -rw-r--r-- | internal_rewrite/simulate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal_rewrite/simulate.cpp b/internal_rewrite/simulate.cpp index 798f98f..1c46221 100644 --- a/internal_rewrite/simulate.cpp +++ b/internal_rewrite/simulate.cpp @@ -13,7 +13,7 @@ void __fastcall hooks::simulate( void* ecx, void* edx ) { static auto ret_addr = pattern::first_code_match< void* >( g_csgo.m_engine.dll( ), "8B CE 6A FF 8B 06", -0x81 );
#endif
- if( _ReturnAddress( ) == ret_addr ) {
+ if( _ReturnAddress( ) == (void*)ret_addr ) {
g_ctx.m_stage = FRAME_RENDER_START;
g_cheat.m_visuals.world_modulate( );
|
