/screenshot: Default to zoom = 2

Before, it would silently fail. As we already have a default for
Ctrl+F9, we can just use that instead.
install-platforms
Lukas Werling 2017-12-23 12:05:13 +01:00
parent ec77fe8744
commit 7ff92179d5
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ bool C4MessageInput::ProcessCommand(const char *szCommand)
if (SEqual(szCmdName, "screenshot"))
{
double zoom = atof(pCmdPar);
if (zoom<=0) return false;
if (zoom<=0) zoom = 2;
::GraphicsSystem.SaveScreenshot(true, zoom);
return true;
}