Skip to content

Commit 14a900e

Browse files
authored
Properly Invert flag check (scp-fs2open#7270)
Fixes scp-fs2open#7269
1 parent ad03fa5 commit 14a900e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/playerman/playercontrol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1893,7 +1893,7 @@ bool player_inspect_cap_subsys_cargo(float frametime, char *outstr)
18931893
}
18941894

18951895
// if we can't do any scanning, then skip over it
1896-
if (Player_ship->flags[Ship::Ship_Flags::Cannot_perform_scan_show_cargo]) {
1896+
if (!Player_ship->flags[Ship::Ship_Flags::Cannot_perform_scan_show_cargo]) {
18971897
// see if player is within inspection range [ok for subsys]
18981898
vec3d subsys_pos;
18991899
float subsys_rad;

0 commit comments

Comments
 (0)