Skip to content

Commit b5ebe63

Browse files
authored
[GEN][ZH] Fix Lan player tooltip (#408)
1 parent 2b74bda commit b5ebe63

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/LanGameOptionsMenu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static void playerTooltip(GameWindow *window,
220220
return;
221221
}
222222
UnicodeString tooltip;
223-
tooltip.format(TheGameText->fetch("TOOLTIP:LANPlayer"), player->getName().str(), player->getLogin().str(), player->getHost().str());
223+
tooltip.format(TheGameText->fetch("TOOLTIP:LANPlayer"), player->getLogin().str(), player->getHost().str());
224224
#if defined(RTS_DEBUG) || defined(RTS_INTERNAL)
225225
UnicodeString ip;
226226
ip.format(L" - %d.%d.%d.%d", PRINTF_IP_AS_4_INTS(player->getIP()));

Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/LanLobbyMenu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ static void playerTooltip(GameWindow *window,
311311
return;
312312
}
313313
UnicodeString tooltip;
314-
tooltip.format(TheGameText->fetch("TOOLTIP:LANPlayer"), player->getName().str(), player->getLogin().str(), player->getHost().str());
314+
tooltip.format(TheGameText->fetch("TOOLTIP:LANPlayer"), player->getLogin().str(), player->getHost().str());
315315
#if defined(RTS_DEBUG) || defined(RTS_INTERNAL)
316316
UnicodeString ip;
317317
ip.format(L" - %d.%d.%d.%d", PRINTF_IP_AS_4_INTS(player->getIP()));

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/LanGameOptionsMenu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ static void playerTooltip(GameWindow *window,
227227
return;
228228
}
229229
UnicodeString tooltip;
230-
tooltip.format(TheGameText->fetch("TOOLTIP:LANPlayer"), player->getName().str(), player->getLogin().str(), player->getHost().str());
230+
tooltip.format(TheGameText->fetch("TOOLTIP:LANPlayer"), player->getLogin().str(), player->getHost().str());
231231
#if defined(RTS_DEBUG) || defined(RTS_INTERNAL)
232232
UnicodeString ip;
233233
ip.format(L" - %d.%d.%d.%d", PRINTF_IP_AS_4_INTS(player->getIP()));

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/LanLobbyMenu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ static void playerTooltip(GameWindow *window,
353353
return;
354354
}
355355
UnicodeString tooltip;
356-
tooltip.format(TheGameText->fetch("TOOLTIP:LANPlayer"), player->getName().str(), player->getLogin().str(), player->getHost().str());
356+
tooltip.format(TheGameText->fetch("TOOLTIP:LANPlayer"), player->getLogin().str(), player->getHost().str());
357357
#if defined(RTS_DEBUG) || defined(RTS_INTERNAL)
358358
UnicodeString ip;
359359
ip.format(L" - %d.%d.%d.%d", PRINTF_IP_AS_4_INTS(player->getIP()));

0 commit comments

Comments
 (0)