aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/main_loop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/main_loop.cpp')
-rw-r--r--engines/sludge/main_loop.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp
index 4fbdad5366..04d38f5831 100644
--- a/engines/sludge/main_loop.cpp
+++ b/engines/sludge/main_loop.cpp
@@ -30,7 +30,6 @@
#include "sludge/allfiles.h"
#include "sludge/language.h"
-#include "sludge/stringy.h"
#include "sludge/sludger.h"
#include "sludge/backdrop.h"
#include "sludge/language.h"
@@ -71,9 +70,9 @@ Graphics::Surface renderSurface;
int dialogValue = 0;
-char *gameName = NULL;
-char *gamePath = NULL;
-char *bundleFolder;
+Common::String gameName = "";
+Common::String gamePath = "";
+Common::String bundleFolder = "";
void setGameFilePath(char *f) {
char currentDir[1000];
@@ -329,8 +328,6 @@ int main_loop(const char *filename)
Wait_Frame();
}
- delete[] gamePath;
-
killSoundStuff();
#if 0