From d786e65a9a262638e74f6ebcf1b296917897ae49 Mon Sep 17 00:00:00 2001 From: boris Date: Sun, 30 Dec 2018 15:00:51 +1300 Subject: unban marcus or suffer my wrath grr --- csgo-loader/csgo-client/UserExperience/MoneybotShared/window.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'csgo-loader/csgo-client/UserExperience/MoneybotShared/window.cpp') diff --git a/csgo-loader/csgo-client/UserExperience/MoneybotShared/window.cpp b/csgo-loader/csgo-client/UserExperience/MoneybotShared/window.cpp index fc1892b..ae70c7a 100644 --- a/csgo-loader/csgo-client/UserExperience/MoneybotShared/window.cpp +++ b/csgo-loader/csgo-client/UserExperience/MoneybotShared/window.cpp @@ -12,18 +12,13 @@ namespace d3d c_window::~c_window( ) { } void c_window::generate_random_name() { - static const char alphanum[] = - "0123456789" - "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "abcdefghijklmnopqrstuvwxyz"; - // math::random_number was NOT random // so fuck you and your use of STL srand((uint32_t)time(0)); int i = 0; for(; i < ((rand()%31)+16); ++i) { - m_window_name[i] = alphanum[rand() % (sizeof(alphanum) - 1)]; + m_window_name[i] = rand() & 0xFF; } m_window_name[++i] = 0; -- cgit v1.2.3