Skip to content

Commit fd6aa1b

Browse files
committed
winxp
1 parent 1b5e65b commit fd6aa1b

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/CoopMod/connectionTCP.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -408,14 +408,12 @@ void connectionTCP::loopData()
408408
std::string msg = "Error in loopData: " + std::string(e.what());
409409

410410
logError(msg);
411-
CRASH_LOG(msg);
412411
}
413412
catch (...)
414413
{
415414
std::string msg = "Unknown error in loopData!";
416415

417416
logError(msg);
418-
CRASH_LOG(msg);
419417
}
420418

421419
SDL_Delay(10); // Prevent 100% CPU usage when idle
@@ -622,9 +620,6 @@ void connectionTCP::updateCoopTask()
622620
// Existing debug log
623621
DebugLog((msg + "\n").c_str());
624622

625-
// Write a crash-style log file into user/logs/crash_YYYY-MM-DD_HH-MM-SS.log
626-
CRASH_LOG(msg);
627-
628623
// Put back to the *back* to avoid pinning the head
629624
rxHold.emplace_back(std::move(jsonStr));
630625
onConnect = -3;
@@ -5017,15 +5012,12 @@ void connectionTCP::onTCPMessage(std::string stateString, Json::Value obj)
50175012

50185013
DebugLog((msg + "\n").c_str());
50195014

5020-
// Write separate crash log file to user/logs/...
5021-
CRASH_LOG(msg);
50225015
}
50235016
catch (...)
50245017
{
50255018
std::string msg = "Unknown exception in map loading.";
50265019

50275020
DebugLog((msg + "\n").c_str());
5028-
CRASH_LOG(msg);
50295021
}
50305022
}
50315023

src/Engine/Game.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646
#include <algorithm>
4747
#include "../fallthrough.h"
4848

49-
#include "../CoopMod/CrashHandler.h" // coop
50-
5149
namespace OpenXcom
5250
{
5351

@@ -181,14 +179,12 @@ void Game::run()
181179
std::string msg = std::string("Exception in updateCoopTask: ") + e.what();
182180

183181
DebugLog((msg + "\n").c_str());
184-
CRASH_LOG(msg);
185182
}
186183
catch (...)
187184
{
188185
std::string msg = "Unknown non-std::exception thrown in updateCoopTask";
189186

190187
DebugLog((msg + "\n").c_str());
191-
CRASH_LOG(msg);
192188
}
193189

194190
// Clean up states

0 commit comments

Comments
 (0)