Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Server/Components/Vehicles/vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void Vehicle::streamInForPlayer(IPlayer& player)
streamIn.Angle = rot.ToEuler().z;

// Trains should always be streamed with default rotation.
if (spawnData.modelID == 537 || spawnData.modelID == 538)
if (spawnData.modelID == 537 || spawnData.modelID == 538 || spawnData.modelID == 449)
{
streamIn.Angle = spawnData.zRotation;
}
Expand Down
4 changes: 2 additions & 2 deletions Server/Components/Vehicles/vehicles_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ class VehiclesComponent final : public IVehiclesComponent, public CoreEventHandl
{
return nullptr;
}
if (!isStatic && (modelID == 538 || modelID == 537))
if (!isStatic && (modelID == 538 || modelID == 537 || modelID == 449))
{
return nullptr;
}
Expand Down Expand Up @@ -547,7 +547,7 @@ class VehiclesComponent final : public IVehiclesComponent, public CoreEventHandl

// Trains shouldn't be respawned.
const int model = vehicle->getModel();
if (model == 537 || model == 538 || model == 569 || model == 570)
if (model == 537 || model == 538 || model == 570 || model == 569 || model == 449)
{
continue;
}
Expand Down