diff options
author | tron <tron@openttd.org> | 2005-08-23 18:47:04 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-23 18:47:04 +0000 |
commit | b45aeb5c365f62fd04d6843efecbe3dc521d8cbb (patch) | |
tree | 87cff4a5f0201aacd0256ce38375fbde200eef92 /oldloader.c | |
parent | 9d9ee2fe5668e631fa36b181530285157badb7fa (diff) | |
download | openttd-b45aeb5c365f62fd04d6843efecbe3dc521d8cbb.tar.xz |
(svn r2886) Rename the "owner" attribute to "m1", because when it stores an owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing.
Diffstat (limited to 'oldloader.c')
-rw-r--r-- | oldloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c index f361a07ea..dbbd3edda 100644 --- a/oldloader.c +++ b/oldloader.c @@ -1400,7 +1400,7 @@ static bool LoadOldMapPart1(LoadgameState *ls, int num) uint i; for (i = 0; i < OLD_MAP_SIZE; i++) { - _m[i].owner = ReadByte(ls); + _m[i].m1 = ReadByte(ls); } for (i = 0; i < OLD_MAP_SIZE; i++) { _m[i].m2 = ReadByte(ls); |