From 82d5455da63e1990685587b981680122e1f13ffb Mon Sep 17 00:00:00 2001 From: Gent S Date: Wed, 23 Dec 2020 14:53:56 -0500 Subject: [PATCH] Ignore race rewards for EPs that aren't found --- src/TableData.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/TableData.cpp b/src/TableData.cpp index d4449de..4a99a18 100644 --- a/src/TableData.cpp +++ b/src/TableData.cpp @@ -608,9 +608,8 @@ void TableData::loadDrops() { } if (EPMap == -1) { // not found - char buff[255]; - sprintf(buff, "EP with ID %d not found", raceEPID); - throw TableException(std::string(buff)); + std::cout << "[WARN] EP with ID " << raceEPID << " not found, skipping" << std::endl; + continue; } // time limit isn't stored in the XDT, so we include it in the reward table instead