aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/scriptables/script_ext_directory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/base/scriptables/script_ext_directory.cpp b/engines/wintermute/base/scriptables/script_ext_directory.cpp
index faf3ac1377..0b5c7a74a6 100644
--- a/engines/wintermute/base/scriptables/script_ext_directory.cpp
+++ b/engines/wintermute/base/scriptables/script_ext_directory.cpp
@@ -64,7 +64,7 @@ bool SXDirectory::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSt
//////////////////////////////////////////////////////////////////////////
if (strcmp(name, "Create") == 0) {
stack->correctParams(1);
- const char *path = stack->pop()->getString();
+ //const char *path = stack->pop()->getString();
if (BaseEngine::instance().getGameId() == "hamlet") {
// No need to actually create anything since "gamelet.save" is stored at SavefileManager
@@ -82,7 +82,7 @@ bool SXDirectory::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSt
//////////////////////////////////////////////////////////////////////////
else if (strcmp(name, "Delete") == 0) {
stack->correctParams(1);
- const char *path = stack->pop()->getString();
+ //const char *path = stack->pop()->getString();
warning("Directory.Delete is not implemented! Returning false...");
@@ -95,8 +95,8 @@ bool SXDirectory::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSt
//////////////////////////////////////////////////////////////////////////
else if (strcmp(name, "GetFiles") == 0 || strcmp(name, "GetDirectories") == 0) {
stack->correctParams(2);
- const char *path = stack->pop()->getString();
- const char *mask = stack->pop()->getString();
+ //const char *path = stack->pop()->getString();
+ //const char *mask = stack->pop()->getString();
stack->pushInt(0);
BaseScriptable *array = makeSXArray(_gameRef, stack);