Skip to content

Commit

Permalink
room_draw: check for outside flag when setting room bounds
Browse files Browse the repository at this point in the history
Fixes a bug with the skybox in room 5 of  Barkhang Monastary.
Resolves LostArtefacts#196.
  • Loading branch information
walkawayy committed Sep 15, 2024
1 parent 6d3deb1 commit c05501b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- fixed pulling the dagger from the dragon not activating triggers (#148, regression from 0.1)
- fixed the music at the beginning of Offshore Rig not playing (#150, regression from 0.1)
- fixed wade animation when moving from deep to shallow water (#231, regression from 0.1)
- fixed the distorted skybox in room 5 of Barkhang Monastery (#196)
- improved initial level load time by lazy-loading audio samples (#114)
- improved crash debug information (#137)
- improved the console caret sprite (#91)
Expand Down
2 changes: 1 addition & 1 deletion src/game/room_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void __cdecl Room_GetBounds(void)
}
}

if (!(r->flags & RF_INSIDE)) {
if (!(r->flags & RF_INSIDE) || (r->flags & RF_OUTSIDE)) {
if (r->bound_left < g_OutsideLeft) {
g_OutsideLeft = r->bound_left;
}
Expand Down

0 comments on commit c05501b

Please sign in to comment.