GOB: Also ignore writing to kSaveModeIgnore files

svn-id: r55351
This commit is contained in:
Sven Hesse 2011-01-20 12:39:54 +00:00
parent f015e175df
commit 75eb1f7f10

View File

@ -1414,7 +1414,9 @@ bool Inter_v2::o2_writeData(OpFuncParams &params) {
} else
WRITE_VAR(1, 0);
} else if (mode == SaveLoad::kSaveModeNone)
} else if (mode == SaveLoad::kSaveModeIgnore)
return false;
else if (mode == SaveLoad::kSaveModeNone)
warning("Attempted to write to file \"%s\"", file);
return false;