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 | 0a9e8854ecb03d5d7651325d9b015c2a46ff9971 (patch) | |
tree | ddd4b43177f3e39accb0635476f53133200bc0c9 /src/train_gui.cpp | |
parent | 7672a059c96ca304b7244cd7fbfe1a05eb03a7c9 (diff) | |
download | openttd-0a9e8854ecb03d5d7651325d9b015c2a46ff9971.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 && |