summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-19 19:21:37 +0000
committerrubidium <rubidium@openttd.org>2009-12-19 19:21:37 +0000
commita6146f5f516ce08dfb9c5ad62b260ba2e3ae8010 (patch)
treec9d60cba50de218e9bc3a85a2e140cbb6eb4aa82 /src/console_cmds.cpp
parent29d6491605bb13e7a751b2a1a8b8728f17bbc54b (diff)
downloadopenttd-a6146f5f516ce08dfb9c5ad62b260ba2e3ae8010.tar.xz
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index bb0ae0310..70b251ac6 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -1236,8 +1236,7 @@ DEF_CONSOLE_CMD(ConScreenShot)
}
}
- RequestScreenshot(type, name);
-
+ MakeScreenshot(type, name);
return true;
}