OpenRCT2 / OpenRCT2/OpenRCT2

Deleting track from underneath a simulated train departing a station causes it to get stuck in midair

Open
#21,034 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
16.2k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
80

Description

Operating System

Void Linux x86-64, kernel 6.5.12_1

OpenRCT2 build

OpenRCT2, v0.4.6

Base game

RollerCoaster Tycoon Classic

Area(s) with this issue?

This bug is a graphical glitch or error

Describe the issue

Sometimes, deleting track from under a simulated train can cause it to get stuck in midair. The train should be removed in this case, but it is left hanging.

Steps to reproduce
  1. Start building a coaster.
  2. Build a station platform followed by a chain lift.
  3. Click the blue flag to start simulating.
  4. Before the train fully departs the station, delete some track from under it.
  5. The train should get stuck in midair and shake.
Attachments

https://github.com/OpenRCT2/OpenRCT2/assets/137745099/cc3e1bc1-7be5-4110-bac4-d2d1b87acff9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the five steps in OpenRCT2 v0.4.6: build a station and chain lift, start simulation, then delete track under the departing train. Investigate the train's behavior when its supporting track is removed. Done means the train is removed instead of remaining suspended and shaking in midair.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.