mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-12 01:24:54 +00:00
(svn r27652) -Fix(r27650): Use the file operation being performed to set the _sl.action variable.
This commit is contained in:
parent
6f201ce4a8
commit
4001f6215e
@ -2812,7 +2812,7 @@ SaveOrLoadResult SaveOrLoad(const char *filename, FileOperation fop, DetailedFil
|
|||||||
}
|
}
|
||||||
|
|
||||||
assert(dft == DFT_GAME_FILE);
|
assert(dft == DFT_GAME_FILE);
|
||||||
switch (dft) {
|
switch (fop) {
|
||||||
case FOP_CHECK:
|
case FOP_CHECK:
|
||||||
_sl.action = SLA_LOAD_CHECK;
|
_sl.action = SLA_LOAD_CHECK;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user