diff options
author | Jonathan Gray | 2003-11-05 11:37:04 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-11-05 11:37:04 +0000 |
commit | 513fdae26189db34137bcf1bed239673d2b80c37 (patch) | |
tree | d33a7420c312cad072c3cae0218e09e2a18ea440 /scumm | |
parent | 2c3b8c9b3046472e34f777588dcc8627cc32dd93 (diff) | |
download | scummvm-rg350-513fdae26189db34137bcf1bed239673d2b80c37.tar.gz scummvm-rg350-513fdae26189db34137bcf1bed239673d2b80c37.tar.bz2 scummvm-rg350-513fdae26189db34137bcf1bed239673d2b80c37.zip |
check name we are trying to save with isn't null, still needs to be looked at at a higher level however
svn-id: r11150
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/saveload.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index 13dc1d2609..6daef9eda9 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -52,6 +52,7 @@ void ScummEngine::requestSave(int slot, const char *name) { _saveLoadSlot = slot; _saveLoadCompatible = false; _saveLoadFlag = 1; // 1 for save + assert(name); strcpy(_saveLoadName, name); } |