summaryrefslogtreecommitdiff
path: root/src/saveload/signs_sl.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-11-21 12:31:16 +0000
committeralberth <alberth@openttd.org>2010-11-21 12:31:16 +0000
commitedef25d30c0cacc4a1d12bfe42e8d956d1363bfb (patch)
treea328d10d36700a43297c438ba5c87efa3c04d40e /src/saveload/signs_sl.cpp
parent297414164135627266438efef673ace008410519 (diff)
downloadopenttd-edef25d30c0cacc4a1d12bfe42e8d956d1363bfb.tar.xz
(svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore().
Diffstat (limited to 'src/saveload/signs_sl.cpp')
-rw-r--r--src/saveload/signs_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/signs_sl.cpp b/src/saveload/signs_sl.cpp
index ae1633cfb..f2a4bebbc 100644
--- a/src/saveload/signs_sl.cpp
+++ b/src/saveload/signs_sl.cpp
@@ -50,7 +50,7 @@ static void Load_SIGN()
* - we can't use IsValidCompany() now, so this is fixed in AfterLoadGame()
* All signs that were saved are valid (including those with just 'Sign' and INVALID_OWNER).
* - so set owner to OWNER_NONE if needed (signs from pre-version 6.1 would be lost) */
- if (CheckSavegameVersionOldStyle(6, 1) || (CheckSavegameVersion(83) && si->owner == INVALID_OWNER)) {
+ if (IsSavegameVersionBefore(6, 1) || (CheckSavegameVersion(83) && si->owner == INVALID_OWNER)) {
si->owner = OWNER_NONE;
}
}