Fixed: #966 Don't exit if no corresponding screen mode found in windowed

This commit is contained in:
kervala 2010-06-07 20:24:11 +02:00
parent 1466684fc7
commit 813352362d

View file

@ -2785,7 +2785,7 @@ public:
}
// If no modes are available, display a message and exit
if (nFoundMode == -1)
if (!ClientCfg.Windowed && nFoundMode == -1)
{
Driver->systemMessageBox("No Video Modes available!\n"
"Minimum Video mode to play Ryzom is 800x600.\n",