Skip to content

Commit

Permalink
TGS Test Merge (#6037)
Browse files Browse the repository at this point in the history
  • Loading branch information
lordme authored and lordme committed Oct 1, 2023
2 parents 731bb3a + 8379567 commit 687bf0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/__DEFINES/atmospherics/machinery/alarm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#define AIR_ALARM_MAKE_TLV(mindanger, minwarning, maxwarning, maxdanger) list(mindanger, minwarning, maxwarning, maxdanger)
#define AIR_ALARM_TEST_TLV(val, list) ( \
((val < list[AIR_ALARM_TLV_DANGER_LOW]) || (val > list[AIR_ALARM_TLV_DANGER_HIGH]))? \
AIR_ALARM_RAISE_DANGER : ((val < list[AIR_ALARM_TLV_WARNING_LOW] || val > list[AIR_ALARM_TLV_WARNING_HIGH])? \
((val < list[AIR_ALARM_TLV_DANGER_LOW]) || (val > list[AIR_ALARM_TLV_DANGER_HIGH]+0.001))? \
AIR_ALARM_RAISE_DANGER : ((val < list[AIR_ALARM_TLV_WARNING_LOW] || val > list[AIR_ALARM_TLV_WARNING_HIGH]+0.001)? \
AIR_ALARM_RAISE_WARNING : AIR_ALARM_RAISE_OKAY) \
)

0 comments on commit 687bf0e

Please sign in to comment.