Skip to content
Permalink
Browse files

TFTD is a pee pee doo doo dummy butt

(ignore bad TFTD data)
  • Loading branch information
SupSuper committed Sep 21, 2019
1 parent 1443422 commit 57fb1f6468e31b1b38c6f7481d905bd967166b7d
Showing with 3 additions and 6 deletions.
  1. +3 −6 src/Mod/MapDataSet.cpp
@@ -24,6 +24,7 @@
#include "../Engine/Exception.h"
#include "../Engine/SurfaceSet.h"
#include "../Engine/FileMap.h"
#include "../Engine/Logger.h"

namespace OpenXcom
{
@@ -219,15 +220,11 @@ void MapDataSet::loadData()
{
if (_objects[i]->getDieMCD() >= _objects.size())
{
std::ostringstream ss;
ss << "MCD " << _name << " object " << i << " has invalid DieMCD: " << _objects[i]->getDieMCD();
throw Exception(ss.str());
Log(LOG_INFO) << "MCD " << _name << " object " << i << " has invalid DieMCD: " << _objects[i]->getDieMCD();
}
if (_objects[i]->getAltMCD() >= _objects.size())
{
std::ostringstream ss;
ss << "MCD " << _name << " object " << i << " has invalid AltMCD: " << _objects[i]->getAltMCD();
throw Exception(ss.str());
Log(LOG_INFO) << "MCD " << _name << " object " << i << " has invalid AltMCD: " << _objects[i]->getAltMCD();
}
}

0 comments on commit 57fb1f6

Please sign in to comment.
You can’t perform that action at this time.