diff options
| author | boris <wzn@moneybot.cc> | 2018-11-28 22:02:33 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-11-28 22:02:33 +1300 |
| commit | 96de4961c447d7009ba52b6bf04d4b7bfe487ab1 (patch) | |
| tree | d2a2135529d8682ca75055a81bc5cee9e0aad00e /cheat/internal_rewrite/visual_world.cpp | |
| parent | cf9a9d4fd2cf95a5c534302a3eb776f74d5dd6cf (diff) | |
fixed emitsound hook
Diffstat (limited to 'cheat/internal_rewrite/visual_world.cpp')
| -rw-r--r-- | cheat/internal_rewrite/visual_world.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cheat/internal_rewrite/visual_world.cpp b/cheat/internal_rewrite/visual_world.cpp index ea3d31d..b45aa3f 100644 --- a/cheat/internal_rewrite/visual_world.cpp +++ b/cheat/internal_rewrite/visual_world.cpp @@ -392,6 +392,22 @@ namespace features }
}
else if( is_sky ) {
+ // todo: make the sky look nice as opposed to gay
+ /*
+ // epic skybox fix (for 3d skybox fog fucking up)
+ offsets->m_skybox_mod = *pattern::first_code_match< uint32_t * >(
+ instance->m_chl->dll( ),
+ STR( "80 BE ? ? ? ? ? 5E 0F 95 C0" ),
+ 0x2
+ );
+
+ // ...
+ auto &skybox_flag = *( uint8_t * )( ( uint32_t ) local_ptr + offsets->m_skybox_mod( ) );
+
+ if( config->visual->night_mode( ) )
+ skybox_flag = 0;
+ */
+
if( apply ) {
new_color = fclr_t( 0.f, 0.f, 0.f );
}
|
