(svn r27652) -Fix(r27650): Use the file operation being performed to set the _sl.action variable.

This commit is contained in:
alberth 2016-09-04 15:10:41 +00:00
parent 6f201ce4a8
commit 4001f6215e
1 changed files with 1 additions and 1 deletions

View File

@ -2812,7 +2812,7 @@ SaveOrLoadResult SaveOrLoad(const char *filename, FileOperation fop, DetailedFil
}
assert(dft == DFT_GAME_FILE);
switch (dft) {
switch (fop) {
case FOP_CHECK:
_sl.action = SLA_LOAD_CHECK;
break;