1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 21:45:32 +00:00

Remove try catch block

This commit is contained in:
Miloslav Číž 2018-06-13 11:12:46 +02:00
parent db6107f12f
commit dcfbd554bb

View file

@ -1041,14 +1041,8 @@ namespace MWInput
std::string settingStr;
try
{
settingStr = Settings::Manager::getString("screenshot type","Video");
regularScreenshot = settingStr.size() == 0 || settingStr.compare("regular") == 0;
}
catch (std::runtime_error)
{
}
settingStr = Settings::Manager::getString("screenshot type","Video");
regularScreenshot = settingStr.size() == 0 || settingStr.compare("regular") == 0;
if (regularScreenshot)
{