mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
minor bug fix
This commit is contained in:
@@ -69,6 +69,7 @@ static inline void InitBotNames()
|
|||||||
PlayerBotNames.push_back(L"AllyJax");
|
PlayerBotNames.push_back(L"AllyJax");
|
||||||
PlayerBotNames.push_back(L"secret_pommes");
|
PlayerBotNames.push_back(L"secret_pommes");
|
||||||
PlayerBotNames.push_back(L"Twin1");
|
PlayerBotNames.push_back(L"Twin1");
|
||||||
|
PlayerBotNames.push_back(L"Marvelco");
|
||||||
|
|
||||||
std::shuffle(PlayerBotNames.begin(), PlayerBotNames.end(), std::default_random_engine((unsigned int)time(0)));
|
std::shuffle(PlayerBotNames.begin(), PlayerBotNames.end(), std::default_random_engine((unsigned int)time(0)));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1564,7 +1564,9 @@ static inline DWORD WINAPI GuiThread(LPVOID)
|
|||||||
{
|
{
|
||||||
WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, NULL, NULL, NULL, L"RebootClass", NULL };
|
WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, NULL, NULL, NULL, L"RebootClass", NULL };
|
||||||
::RegisterClassEx(&wc);
|
::RegisterClassEx(&wc);
|
||||||
HWND hwnd = ::CreateWindowExW(0L, wc.lpszClassName, (L"Project Reboot " + std::to_wstring(Fortnite_Version)).c_str(), (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX), 100, 100, Width, Height, NULL, NULL, wc.hInstance, NULL);
|
|
||||||
|
HWND hwnd = ::CreateWindowExW(0L,wc.lpszClassName,(L"Project Reboot " + ([](double v) { std::wstringstream ss; ss << std::fixed << std::setprecision(2) << v; return ss.str(); })(Fortnite_Version)).c_str(),(WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX), 100, 100, Width, Height, NULL, NULL, wc.hInstance, NULL);
|
||||||
|
|
||||||
|
|
||||||
if (hwnd == NULL)
|
if (hwnd == NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user