Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flat diagonal Hybrid Coaster track draws in incorrect colour #22063

Open
Basssiiie opened this issue May 19, 2024 · 2 comments
Open

Flat diagonal Hybrid Coaster track draws in incorrect colour #22063

Basssiiie opened this issue May 19, 2024 · 2 comments
Assignees
Labels
bug Something went wrong. track drawing Relates to drawing of rides and supports
Milestone

Comments

@Basssiiie
Copy link
Member

Operating System

Windows 10, 64-bit

OpenRCT2 build

OpenRCT2, v0.4.11-111-g2217d40 (2217d40 on develop) provided by GitHub

Base game

RollerCoaster Tycoon 2

Area(s) with this issue?

This bug is a graphical glitch or error

Describe the issue

The flat diagonal track piece for the Hybrid Coaster draws the side bars in the wrong colour. The issue happens in all placement rotations and viewing rotations.

Other similar track pieces, like banked pieces, brakes, and block brakes look fine.

Steps to reproduce

  1. Build a flat diagonal track piece for the Hybrid Coaster.
  2. Make sure the track and supports are of different colours.

Attachments

image

image

image

image

image

@Basssiiie Basssiiie added the bug Something went wrong. label May 19, 2024
@AaronVanGeffen
Copy link
Member

The sprites themselves look like they have both remap colours. It seems HybridRC::TrackDiagFlat may need to be adjusted. Perhaps HybridRC::TrackDiagBrakes can help act as reference.

@Gymnasiast
Copy link
Member

Probably caused by a recent refactor to that function. Need to figure out how to fix it without just reverting.

@Gymnasiast Gymnasiast added this to the v0.4.12 milestone May 20, 2024
@Gymnasiast Gymnasiast self-assigned this May 20, 2024
@Gymnasiast Gymnasiast added the track drawing Relates to drawing of rides and supports label May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something went wrong. track drawing Relates to drawing of rides and supports
Projects
None yet
Development

No branches or pull requests

3 participants