--- a/src/roadveh_cmd.cpp Sun Oct 21 16:44:19 2007 +0000
+++ b/src/roadveh_cmd.cpp Sun Oct 21 16:45:00 2007 +0000
@@ -202,6 +202,7 @@
const RoadVehicleInfo *rvi = RoadVehInfo(p1);
+ v = new (v) RoadVehicle();
v->unitnumber = unit_num;
v->direction = DiagDirToDir(GetRoadDepotDirection(tile));
v->owner = _current_player;
@@ -247,7 +248,6 @@
v->date_of_last_service = _date;
v->build_year = _cur_year;
- v = new (v) RoadVehicle();
v->cur_image = 0xC15;
v->random_bits = VehicleRandomBits();
SetRoadVehFront(v);