summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/oldloader.h2
-rw-r--r--src/saveload/order_sl.cpp4
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);