diff options
author | peter1138 <peter1138@openttd.org> | 2008-05-25 09:40:44 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-05-25 09:40:44 +0000 |
commit | d9805b46b91a16daf53658c6fe37f5568e32e0cc (patch) | |
tree | ddd4b43177f3e39accb0635476f53133200bc0c9 /src/train_gui.cpp | |
parent | 60ae7993210f67abde29b11d03623fbcbfdc732e (diff) | |
download | openttd-d9805b46b91a16daf53658c6fe37f5568e32e0cc.tar.xz |
(svn r13240) -Codechange: More const-ness for GUI code.
Diffstat (limited to 'src/train_gui.cpp')
-rw-r--r-- | src/train_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp index d95d84dd6..3e516a4e3 100644 --- a/src/train_gui.cpp +++ b/src/train_gui.cpp @@ -28,8 +28,8 @@ void CcBuildWagon(bool success, TileIndex tile, uint32 p1, uint32 p2) if (!success) return; /* find a locomotive in the depot. */ - Vehicle *found = NULL; - Vehicle *v; + const Vehicle *found = NULL; + const Vehicle *v; FOR_ALL_VEHICLES(v) { if (v->type == VEH_TRAIN && IsFrontEngine(v) && v->tile == tile && |