Skip to content

Commit 6721402

Browse files
committed
swars: Fixed misinterpreted flag in draw_sort_sprite1b()
This is a step toward fixing the regressed Thermal vision in buildings.
1 parent 4648bda commit 6721402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engindrwlstx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ void draw_sort_sprite1b(int sspr)
18331833
word_1A5834 = 120;
18341834
word_1A5836 = 120;
18351835

1836-
if (((p_thing->Flag2 & TgF2_Unkn2000) != 0) && (ingame.DisplayMode == 50))
1836+
if (((p_thing->Flag2 & TgF2_InsideBuilding) != 0) && (ingame.DisplayMode == 50))
18371837
{
18381838
if ((ingame.Flags & GamF_ThermalView) != 0) {
18391839
ushort fr;

0 commit comments

Comments
 (0)