diff options
author | alberth <alberth@openttd.org> | 2016-09-04 12:46:29 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2016-09-04 12:46:29 +0000 |
commit | 3b8ede5ebe74bafba528f0bf40942c1367cbcaee (patch) | |
tree | a3f12604b77eef8452f7772fd04b0853d978b4cf /src | |
parent | 087ed1e999e900d695f5de11b340406890baa3a7 (diff) | |
download | openttd-3b8ede5ebe74bafba528f0bf40942c1367cbcaee.tar.xz |
(svn r27637) -Codechange: Don't use _saveload_mode for scenario loading detection.
Diffstat (limited to 'src')
-rw-r--r-- | src/saveload/signs_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/signs_sl.cpp b/src/saveload/signs_sl.cpp index d5bacd509..077d34501 100644 --- a/src/saveload/signs_sl.cpp +++ b/src/saveload/signs_sl.cpp @@ -60,7 +60,7 @@ static void Load_SIGN() } /* Signs placed in scenario editor shall now be OWNER_DEITY */ - if (IsSavegameVersionBefore(171) && si->owner == OWNER_NONE && _saveload_mode == SLD_LOAD_SCENARIO) { + if (IsSavegameVersionBefore(171) && si->owner == OWNER_NONE && _file_to_saveload.filetype == FT_SCENARIO) { si->owner = OWNER_DEITY; } } |