Skip to content

Commit ead0a01

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 1813cb4 + 2cd5784 commit ead0a01

File tree

3 files changed

+12
-22
lines changed

3 files changed

+12
-22
lines changed

Client/core/CCommandFuncs.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ extern bool g_bBoundsChecker;
2121
void CCommandFuncs::Help(const char* szParameters)
2222
{
2323
CConsoleInterface* pConsole = g_pCore->GetConsole();
24-
25-
if (szParameters && atoi(szParameters) == 1)
26-
CCore::GetSingleton().GetMultiplayer()->AllowWindowsCursorShowing(true);
27-
else
28-
CCore::GetSingleton().GetMultiplayer()->AllowWindowsCursorShowing(false);
29-
3024
pConsole->Print(_("***[ COMMAND HELP ]***\n"));
3125

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

4842
void CCommandFuncs::Ver(const char* szParameters)
4943
{
50-
ShowCursor(TRUE);
51-
HCURSOR hc = LoadCursor(NULL, IDC_ARROW);
52-
SetCursor(hc);
53-
5444
// Compose version string
5545
unsigned short usNetRev = CCore::GetSingleton().GetNetwork()->GetNetRev();
5646
unsigned short usNetRel = CCore::GetSingleton().GetNetwork()->GetNetRel();

Client/mods/deathmatch/logic/luadefs/CLuaBrowserDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ int CLuaBrowserDefs::ExecuteBrowserJavascript(lua_State* luaVM)
459459

460460
if (!argStream.HasErrors())
461461
{
462-
if (pWebBrowser->ExecuteJavascript(strJavascriptCode))
462+
if (strJavascriptCode.empty() || pWebBrowser->ExecuteJavascript(strJavascriptCode))
463463
{
464464
lua_pushboolean(luaVM, true);
465465
return 1;

Shared/data/MTA San Andreas/MTA/locale/en_US/client.pot

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: MTA San Andreas 1.x\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-05-12 19:40+0000\n"
11+
"POT-Creation-Date: 2023-05-21 09:29+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -1125,47 +1125,47 @@ msgstr ""
11251125
msgid "CONSOLE"
11261126
msgstr ""
11271127

1128-
#: Client/core/CCommandFuncs.cpp:30
1128+
#: Client/core/CCommandFuncs.cpp:24
11291129
msgid "***[ COMMAND HELP ]***\n"
11301130
msgstr ""
11311131

1132-
#: Client/core/CCommandFuncs.cpp:168
1132+
#: Client/core/CCommandFuncs.cpp:158
11331133
#, c-format
11341134
msgid "* The time is %d:%02d:%02d"
11351135
msgstr ""
11361136

1137-
#: Client/core/CCommandFuncs.cpp:252
1137+
#: Client/core/CCommandFuncs.cpp:242
11381138
msgid "connect: Syntax is 'connect <host> [<port> <nick> <pass>]'"
11391139
msgstr ""
11401140

1141-
#: Client/core/CCommandFuncs.cpp:260 Client/core/CCommandFuncs.cpp:328
1141+
#: Client/core/CCommandFuncs.cpp:250 Client/core/CCommandFuncs.cpp:318
11421142
msgid "connect: Bad port number"
11431143
msgstr ""
11441144

1145-
#: Client/core/CCommandFuncs.cpp:282 Client/core/CCommandFuncs.cpp:343
1145+
#: Client/core/CCommandFuncs.cpp:272 Client/core/CCommandFuncs.cpp:333
11461146
#, c-format
11471147
msgid "connect: Connecting to %s:%u..."
11481148
msgstr ""
11491149

1150-
#: Client/core/CCommandFuncs.cpp:286 Client/core/CCommandFuncs.cpp:347
1150+
#: Client/core/CCommandFuncs.cpp:276 Client/core/CCommandFuncs.cpp:337
11511151
#, c-format
11521152
msgid "connect: could not connect to %s:%u!"
11531153
msgstr ""
11541154

1155-
#: Client/core/CCommandFuncs.cpp:291
1155+
#: Client/core/CCommandFuncs.cpp:281
11561156
msgid "connect: Failed to unload current mod"
11571157
msgstr ""
11581158

1159-
#: Client/core/CCommandFuncs.cpp:381
1159+
#: Client/core/CCommandFuncs.cpp:371
11601160
msgid "Bound all controls from GTA"
11611161
msgstr ""
11621162

1163-
#: Client/core/CCommandFuncs.cpp:395
1163+
#: Client/core/CCommandFuncs.cpp:385
11641164
msgid "Saved configuration file"
11651165
msgstr ""
11661166

11671167
#. Print it
1168-
#: Client/core/CCommandFuncs.cpp:461
1168+
#: Client/core/CCommandFuncs.cpp:451
11691169
#, c-format
11701170
msgid "* Your serial is: %s"
11711171
msgstr ""

0 commit comments

Comments
 (0)