diff options
Diffstat (limited to 'gmod/frame_stage_notify.cpp')
| -rw-r--r-- | gmod/frame_stage_notify.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gmod/frame_stage_notify.cpp b/gmod/frame_stage_notify.cpp deleted file mode 100644 index c371eb0..0000000 --- a/gmod/frame_stage_notify.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "hooks.hpp"
-#include "context.hpp"
-#include "settings.hpp"
-#include "base_cheat.hpp"
-
-
-void __fastcall hooks::frame_stage_notify( void* ecx_, void* edx_, ClientFrameStage_t stage ) {
- static auto frame_stage_notify_o = g_gmod.m_chl->get_old_function< decltype( &hooks::frame_stage_notify ) >( 35 );
- if ( g_gmod.m_panic ) return frame_stage_notify_o( ecx_, edx_, stage );
-
- g_ctx.m_stage = stage;
-
- switch( stage ) {
- case FRAME_NET_UPDATE_START:
- break;
- case FRAME_NET_UPDATE_POSTDATAUPDATE_START:
- break;
- case FRAME_RENDER_START:
- break;
- case FRAME_RENDER_END:
- break;
- }
-
- frame_stage_notify_o( ecx_, edx_, stage );
-}
\ No newline at end of file |
