CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.7k stars 4.2k forks source link

Vehicle. Shape change error. #77088

Open svakob opened 1 month ago

svakob commented 1 month ago

Describe the bug

I want to change the appearance of the transport tile, but an error appears.

DEBUG : failed to set cursor at given part

FUNCTION : start FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\veh_shape.cpp LINE : 30 VERSION : 8c9ca7a

image image image

Attach save file

1-trimmed.tar.gz

Steps to reproduce

1) Examine a vehicle. 2) Press p to any part.

Expected behavior

A window for changing the tile appearance appears

Screenshots

No response

Versions and configuration

Additional context

No response

IdleSol commented 1 month ago

No problem. cdda-windows-tiles-x64-2024-10-18-0902

UPD. No problems in the new world. Similar error when using the provided save.

Lol. The error occurs at z=-1 level. Go to any basement, create a car there and enjoy.

 DEBUG    : failed to set cursor at given part

 FUNCTION : player_activity veh_shape::start(const tripoint_bub_ms&)
 FILE     : src/veh_shape.cpp
 LINE     : 30
 VERSION  : cdda-experimental-2024-10-18-0902 77e1ead

UPD2. z = -1 ... -10

IdleSol commented 1 month ago

The problem occurs at any level except z=0. The problem occurs between versions 2024-05-13-0447 and 2024-05-13-1412

Source of the problem:

@irwiss I apologize if I distracted you.