diff options
author | md5 | 2011-05-15 11:25:46 +0300 |
---|---|---|
committer | md5 | 2011-05-15 11:25:46 +0300 |
commit | b34e776e517b893d3cc140e7282a99026c2500f8 (patch) | |
tree | 7fc09c0bada96ca76d229d61e39a71fe1411dc82 /engines | |
parent | eff8597a385b412b187b8348ef327c9cd9a7f626 (diff) | |
download | scummvm-rg350-b34e776e517b893d3cc140e7282a99026c2500f8.tar.gz scummvm-rg350-b34e776e517b893d3cc140e7282a99026c2500f8.tar.bz2 scummvm-rg350-b34e776e517b893d3cc140e7282a99026c2500f8.zip |
SWORD25 (LUA): Clarified the use of os_remove()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sword25/util/lua/loslib.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sword25/util/lua/loslib.cpp b/engines/sword25/util/lua/loslib.cpp index 51266b522f..de96860812 100644 --- a/engines/sword25/util/lua/loslib.cpp +++ b/engines/sword25/util/lua/loslib.cpp @@ -26,8 +26,11 @@ static int os_execute (lua_State *L) { static int os_remove (lua_State *L) { - // Removed in ScummVM, does nothing. It's called when loading games (perhaps - // to delete the savegame thumbnail?) + // Non-portable call that deletes a file. Removed in ScummVM. + // This call is invoked in sword25 when loading games in order to remove the + // temporary savegame thumbnail that the original engine code created. We + // embed the thumbnail in the savegame instead, so this call is not needed at + // all. return 1; } |