diff options
author | rubidium <rubidium@openttd.org> | 2010-01-01 18:45:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-01 18:45:40 +0000 |
commit | b2e9b5d612a879097587b05ed2c53c19c70d84a6 (patch) | |
tree | b3dec8b7dc6f7bd35e4b6dbb4e500c0ba2290ab0 /src/saveload | |
parent | 115b20774540589572d45de3fdc7743ea4626f13 (diff) | |
download | openttd-b2e9b5d612a879097587b05ed2c53c19c70d84a6.tar.xz |
(svn r18683) -Fix: it's not an other
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/oldloader.h | 2 | ||||
-rw-r--r-- | src/saveload/order_sl.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/saveload/oldloader.h b/src/saveload/oldloader.h index 9eee86af3..eabf1332d 100644 --- a/src/saveload/oldloader.h +++ b/src/saveload/oldloader.h @@ -124,7 +124,7 @@ static inline uint32 ReadUint32(LoadgameState *ls) * - OCL_VAR: load 'type' to a global var * - OCL_END: every struct must end with this * - OCL_NULL: read 'amount' of bytes and send them to /dev/null or something - * - OCL_CHUNK: load an other proc to load a part of the savegame, 'amount' times + * - OCL_CHUNK: load another proc to load a part of the savegame, 'amount' times * - OCL_ASSERT: to check if we are really at the place we expect to be.. because old savegames are too binary to be sure ;) */ #define OCL_SVAR(type, base, offset) { type, 1, NULL, (uint)cpp_offsetof(base, offset), NULL } diff --git a/src/saveload/order_sl.cpp b/src/saveload/order_sl.cpp index 05e7ece45..fc4cf4b0b 100644 --- a/src/saveload/order_sl.cpp +++ b/src/saveload/order_sl.cpp @@ -131,8 +131,8 @@ static void Load_ORDR() size_t len = SlGetFieldLength(); if (CheckSavegameVersion(5)) { - /* Pre-version 5 had an other layout for orders - (uint16 instead of uint32) */ + /* Pre-version 5 had another layout for orders + * (uint16 instead of uint32) */ len /= sizeof(uint16); uint16 *orders = MallocT<uint16>(len + 1); |