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:
parent
db6107f12f
commit
dcfbd554bb
1 changed files with 2 additions and 8 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue