CleverRaven / CleverRaven/Cataclysm-DDA

"Teleporting" when moving to a lower level

Open
#70,802 4 comments 1 reaction 0 assignees View on GitHub
(S2 - Confirmed)
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

### Describe the bug

If a character is standing on the same section of the map with a level down, "Descent stairs" will instantly move them to the level below.

The error does not affect moving to a higher floor.

### Attach save file

N/A

### Steps to reproduce

1. Create a character
2. Go to the one section of the map with the stairs to the lower level
3. Descend stairs

### Expected behavior

Obviously, it's not how the descent is supposed to work.

### Screenshots

![Lloyd Ervin _2024-01-09T20-19-51](https://github.com/CleverRaven/Cataclysm-DDA/assets/99146517/4b0e2cc7-371f-4ff3-9ac6-33a6331cceb2)
![Lloyd Ervin _2024-01-09T20-20-45](https://github.com/CleverRaven/Cataclysm-DDA/assets/99146517/0a0a504c-3ad0-40bd-b20f-6302b41077b0)
![image](https://github.com/CleverRaven/Cataclysm-DDA/assets/99146517/0349823e-d53a-4db5-ac3b-84e4dc93fdfb)

### Versions and configuration

- OS: Windows
- OS Version: 10.0.19045.3803 (22H2)
- Game Version: 7b2ac96 [64-bit]
- Graphics Version: Tiles
- Game Language: Русский (92.8%) [ru]
- Mods loaded: [
Dark Days Ahead [dda]
]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the three listed steps in Cataclysm: Dark Days Ahead, focusing on the map section with stairs to a lower level and comparing descent with movement to a higher floor. Trace the lower-level stair handling and verify that descending no longer instantly relocates the character beyond the intended stair transition.

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.