Open aredfan opened 1 day ago
This is a strange one. It seems like a data issue - room 17 has a visibility portal into room 104 (which is clearly wrong, must have been a level editing bug), and in turn because that is linked to room 80, room 80 is drawn. The portal is marked by the waypoints here, just imagine it pointing downwards to room 104.
I'm not sure where the regression is if this doesn't happen in OG. Ideally we would fix the data and the regression itself.
Thanks for providing a detailed breakdown there Lahm.
Btw this issue also manifests in the upper end of the level where Lara picks up the last key.
This seems to have been caused by https://github.com/LostArtefacts/TRX/commit/6c365499e529de0c0f0cf2ab152515a82f91881b. Restoring the various g_FltWinLeft = g_PhdWinMinX; //...etc
calls in output.c
that were removed in that commit fixes it, but there are side effects:
Output_InsertRoom
fixes the main problem, but 3D pickups aren't shown in-game, and the inventory is empty.Output_InsertRoom
and Output_InsertPolygons
fixes the problem and pickup/inventory display, but the 3D pickups appear centre-screen.
Regression since: 0.6
Steps to reproduce:
/play 10
/tp 51 4 48