diff options
author | Max Horn | 2010-10-25 23:34:36 +0000 |
---|---|---|
committer | Max Horn | 2010-10-25 23:34:36 +0000 |
commit | 8217efc74a9b5066bd158e7fef5edd257aec9f16 (patch) | |
tree | 3b4b79180b1fe8bf1a0c36aad433fb094fbe5045 /engines/sword25/gfx/graphicengine_script.cpp | |
parent | ed0de8462df02e717c9673dfd4e77288377815ba (diff) | |
download | scummvm-rg350-8217efc74a9b5066bd158e7fef5edd257aec9f16.tar.gz scummvm-rg350-8217efc74a9b5066bd158e7fef5edd257aec9f16.tar.bz2 scummvm-rg350-8217efc74a9b5066bd158e7fef5edd257aec9f16.zip |
SWORD25: Disable script triggered screenshots
svn-id: r53840
Diffstat (limited to 'engines/sword25/gfx/graphicengine_script.cpp')
-rw-r--r-- | engines/sword25/gfx/graphicengine_script.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sword25/gfx/graphicengine_script.cpp b/engines/sword25/gfx/graphicengine_script.cpp index 835e1e20b8..b2a6309e48 100644 --- a/engines/sword25/gfx/graphicengine_script.cpp +++ b/engines/sword25/gfx/graphicengine_script.cpp @@ -383,8 +383,10 @@ static int getSecondaryFrameDuration(lua_State *L) { } static int saveScreenshot(lua_State *L) { - GraphicEngine *pGE = getGE(); - lua_pushbooleancpp(L, pGE->saveScreenshot(luaL_checkstring(L, 1))); + // This is used by system/debug.lua only. We do not implement this; support + // for taking screenshots is a backend feature. + lua_pushbooleancpp(L, false); + return 1; } |