summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-23 18:47:04 +0000
committertron <tron@openttd.org>2005-08-23 18:47:04 +0000
commitb45aeb5c365f62fd04d6843efecbe3dc521d8cbb (patch)
tree87cff4a5f0201aacd0256ce38375fbde200eef92 /train_cmd.c
parent9d9ee2fe5668e631fa36b181530285157badb7fa (diff)
downloadopenttd-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 'train_cmd.c')
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 1f8f28a6f..2e339020a 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -2458,7 +2458,7 @@ static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile)
break;
case MP_STREET:
- // tracks over roads, do owner check of tracks (_m[tile].owner)
+ // tracks over roads, do owner check of tracks
return
IsTileOwner(tile, v->owner) &&
(v->subtype != TS_Front_Engine || (_m[tile].m4 & 0xF) == v->u.rail.railtype);