diff --git a/src/OptionManager.cpp b/src/OptionManager.cpp index afb6008..4883fd5 100644 --- a/src/OptionManager.cpp +++ b/src/OptionManager.cpp @@ -236,17 +236,11 @@ void OptionManager::setHowToPlaySeen(bool value) { int OptionManager::getScreenWidth() { int result = this->options.get("screen_width", 0).asInt(); - if (result == 0) { - panic("Could not find a valid display mode!"); - } return result; } int OptionManager::getScreenHeight() { int result = this->options.get("screen_height", 0).asInt(); - if (result == 0) { - panic("Could not find a valid display mode!"); - } return result; }