Skip to content

Commit

Permalink
Fix gangway rendered at barrier width in ScriptedTrainRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
zbx1425 committed Jan 30, 2024
1 parent c4a8cc6 commit e82886b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void renderBarrier(Vec3 prevPos1, Vec3 prevPos2, Vec3 prevPos3, Vec3 prev
if (RenderUtil.shouldSkipRenderTrain(train)) return;

if (baseRenderer != null) {
baseRenderer.renderConnection(prevPos1, prevPos2, prevPos3, prevPos4, thisPos1, thisPos2, thisPos3, thisPos4, x, y, z, yaw, pitch);
baseRenderer.renderBarrier(prevPos1, prevPos2, prevPos3, prevPos4, thisPos1, thisPos2, thisPos3, thisPos4, x, y, z, yaw, pitch);
}
}

Expand Down

0 comments on commit e82886b

Please sign in to comment.