From a2712607137b820e4f4a875636b04e32b59a53c9 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 2 Sep 2018 00:10:54 +0200 Subject: a --- internal_rewrite/directx.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal_rewrite/directx.cpp') diff --git a/internal_rewrite/directx.cpp b/internal_rewrite/directx.cpp index be708b9..fa40fb3 100644 --- a/internal_rewrite/directx.cpp +++ b/internal_rewrite/directx.cpp @@ -193,6 +193,7 @@ long __stdcall hooks::d3d::present( IDirect3DDevice9* device, RECT* source, RECT static std::string date; std::string str; +#ifdef _DEBUG static bool transformed = false; if( !transformed ) { date += __DATE__; @@ -201,6 +202,7 @@ long __stdcall hooks::d3d::present( IDirect3DDevice9* device, RECT* source, RECT transformed = true; } +#endif str = xors( "moneybot | " ); auto nci = g_csgo.m_engine( )->GetNetChannelInfo( ); @@ -213,7 +215,11 @@ long __stdcall hooks::d3d::present( IDirect3DDevice9* device, RECT* source, RECT str += xors( "unconnected | " ); } +#ifdef _DEBUG str += date; +#else + str += g_header.username; +#endif g_d3d.draw_text< ALIGN_RIGHT >( ::d3d::fonts.f_menu, ui::ui_get_text_col( ), g_d3d.m_width - 10, 8, -- cgit v1.2.3