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
This commit is contained in:
Jonathan Gray 2003-11-05 11:37:04 +00:00
parent 2c3b8c9b30
commit 513fdae261

View file

@ -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);
}