aboutsummaryrefslogtreecommitdiff
path: root/base/engine.cpp
diff options
context:
space:
mode:
authorMax Horn2004-01-29 21:54:03 +0000
committerMax Horn2004-01-29 21:54:03 +0000
commit81ff879a9daf101a51be72c838ca6885f93746d9 (patch)
treec8843d074488e87486977af937ccc995b6d32665 /base/engine.cpp
parentfbab0e9984864917e6eab90fcf2c713f705ede73 (diff)
downloadscummvm-rg350-81ff879a9daf101a51be72c838ca6885f93746d9.tar.gz
scummvm-rg350-81ff879a9daf101a51be72c838ca6885f93746d9.tar.bz2
scummvm-rg350-81ff879a9daf101a51be72c838ca6885f93746d9.zip
Add the super-ultra-mega-secret --savepath option (and it's not just secret because I am too lame to write a help entry, add it to the README, and add it to the TeX files. *cough* No, that's not at all the reason... :-)
svn-id: r12669
Diffstat (limited to 'base/engine.cpp')
-rw-r--r--base/engine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/base/engine.cpp b/base/engine.cpp
index 7660fbcfd4..d791ffe50c 100644
--- a/base/engine.cpp
+++ b/base/engine.cpp
@@ -70,9 +70,7 @@ const char *Engine::getSavePath() const {
if (!dir || dir[0] == 0)
dir = ConfMan.get("savepath").c_str();
- // If no save path was specified, use no directory prefix
- if (dir == NULL)
- dir = "";
+ assert(dir);
return dir;
#endif