diff options
author | yinsimei | 2017-07-11 14:57:31 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 800987ab95c4faa5532d735a85516fd09f5de724 (patch) | |
tree | df71c20322ddfd8b441fa120face21663ea9e164 /engines/sludge/main_loop.cpp | |
parent | 19ff9f419baae348b153c45c2857a7cccb33f725 (diff) | |
download | scummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.tar.gz scummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.tar.bz2 scummvm-rg350-800987ab95c4faa5532d735a85516fd09f5de724.zip |
SLUDGE: replace char *by Common::String
Diffstat (limited to 'engines/sludge/main_loop.cpp')
-rw-r--r-- | engines/sludge/main_loop.cpp | 9 |
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 |