summaryrefslogtreecommitdiff
path: root/roadveh_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-29 20:28:43 +0000
committertron <tron@openttd.org>2005-10-29 20:28:43 +0000
commit187ea08e1df48ba9c52d27f4d52235b588087478 (patch)
tree6030d4a2f635dcdaffa22188e6cf564a466db1d2 /roadveh_gui.c
parent9e957ff80bcd1e6be4239bd8355a355e5c892ded (diff)
downloadopenttd-187ea08e1df48ba9c52d27f4d52235b588087478.tar.xz
(svn r3099) Copy&pasto in r3098
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r--roadveh_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c
index 0385e4efb..8a45d7ae7 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -226,7 +226,7 @@ static void ShowRoadVehDetailsWindow(const Vehicle* v)
void CcCloneRoadVeh(bool success, uint tile, uint32 p1, uint32 p2)
{
if (success) {
- const Vehicle* v = GetVehicle(_new_aircraft_id);
+ const Vehicle* v = GetVehicle(_new_roadveh_id);
ShowRoadVehViewWindow(v);
}