Skip to content

Commit

Permalink
Remove some strange undocumented logic (#3013)
Browse files Browse the repository at this point in the history
  • Loading branch information
lopezloo committed May 21, 2023
1 parent eba619d commit 0cdc4d2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Client/core/CCommandFuncs.cpp
Expand Up @@ -21,12 +21,6 @@ extern bool g_bBoundsChecker;
void CCommandFuncs::Help(const char* szParameters)
{
CConsoleInterface* pConsole = g_pCore->GetConsole();

if (szParameters && atoi(szParameters) == 1)
CCore::GetSingleton().GetMultiplayer()->AllowWindowsCursorShowing(true);
else
CCore::GetSingleton().GetMultiplayer()->AllowWindowsCursorShowing(false);

pConsole->Print(_("***[ COMMAND HELP ]***\n"));

// Loop through all the available commands
Expand All @@ -47,10 +41,6 @@ void CCommandFuncs::Exit(const char* szParameters)

void CCommandFuncs::Ver(const char* szParameters)
{
ShowCursor(TRUE);
HCURSOR hc = LoadCursor(NULL, IDC_ARROW);
SetCursor(hc);

// Compose version string
unsigned short usNetRev = CCore::GetSingleton().GetNetwork()->GetNetRev();
unsigned short usNetRel = CCore::GetSingleton().GetNetwork()->GetNetRel();
Expand Down

0 comments on commit 0cdc4d2

Please sign in to comment.