Skip to content

Commit afb1459

Browse files
committed
tweak: Remove ambiguous disconnection / desync formatting
1 parent 50ffe07 commit afb1459

File tree

2 files changed

+2
-6
lines changed
  • GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus
  • Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus

2 files changed

+2
-6
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,16 +282,14 @@ void PopulateReplayFileListbox(GameWindow *listbox)
282282
Int mins = (totalSeconds % 3600) / 60;
283283
Int secs = totalSeconds % 60;
284284
Real fps = header.frameCount / totalSeconds;
285-
extraStr.format(L"%02d:%02d:%02d (%g fps) %hs", hours, mins, secs, fps, header.desyncGame ? "OOS " : "");
285+
extraStr.format(L"%02d:%02d:%02d (%g fps)", hours, mins, secs, fps);
286286

287287
for (Int i=0; i<MAX_SLOTS; ++i)
288288
{
289289
const GameSlot *slot = info.getConstSlot(i);
290290
if (slot && slot->isHuman())
291291
{
292292
extraStr.concat(L"\n");
293-
if (header.playerDiscons[i])
294-
extraStr.concat(L'*');
295293
extraStr.concat(info.getConstSlot(i)->getName());
296294
}
297295
}

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,16 +282,14 @@ void PopulateReplayFileListbox(GameWindow *listbox)
282282
Int mins = (totalSeconds % 3600) / 60;
283283
Int secs = totalSeconds % 60;
284284
Real fps = header.frameCount / totalSeconds;
285-
extraStr.format(L"%02d:%02d:%02d (%g fps) %hs", hours, mins, secs, fps, header.desyncGame ? "OOS " : "");
285+
extraStr.format(L"%02d:%02d:%02d (%g fps)", hours, mins, secs, fps);
286286

287287
for (Int i=0; i<MAX_SLOTS; ++i)
288288
{
289289
const GameSlot *slot = info.getConstSlot(i);
290290
if (slot && slot->isHuman())
291291
{
292292
extraStr.concat(L"\n");
293-
if (header.playerDiscons[i])
294-
extraStr.concat(L'*');
295293
extraStr.concat(info.getConstSlot(i)->getName());
296294
}
297295
}

0 commit comments

Comments
 (0)