Merge branch 'template_train_replacement' into jgrpp

This commit is contained in:
Jonathan G Rennison 2017-03-31 14:30:49 +01:00
commit f4b5efd67d

View File

@ -4833,6 +4833,7 @@ Train* CmdBuildVirtualRailVehicle(EngineID eid, bool lax_engine_check, StringID
v->railtype = rvi->railtype;
_new_vehicle_id = v->index;
v->build_year = _cur_year;
v->sprite_seq.Set(SPR_IMG_QUERY);
v->random_bits = VehicleRandomBits();