Remove obsolete code from TPTScriptInterface

This commit is contained in:
jacksonmj 2013-04-27 15:48:34 +01:00
parent 9bc939d422
commit b83043e2a6

View File

@ -261,9 +261,6 @@ AnyType TPTScriptInterface::tptS_set(std::deque<std::string> * words)
newValue = GetParticleType(((StringType)value).Value());
if (newValue < 0 || newValue >= PT_NUM)
{
if (((StringType)value).Value() == "GOLD" || ((StringType)value).Value() == "gold")
throw GeneralException("No, GOLD will not be an element");
else
throw GeneralException("Invalid element");
}
}