Skip to content

Commit

Permalink
Update script_macros.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mazinskihenry authored Oct 11, 2024
1 parent 53bbfe3 commit e4285fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/main/script_macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
#define REDUCE_TOTAL_BLOOD_VOLUME(unit,volume) (unit setVariable [VAR_BODY_FLUID, [(GET_BODY_FLUID(unit) select 0) - (volume / 2), (GET_BODY_FLUID(unit) select 1) - (volume / 2), (GET_BODY_FLUID(unit) select 2), (GET_BODY_FLUID(unit) select 3), (GET_BODY_FLUID(unit) select 4) - volume], true])

#undef GET_BLOOD_PRESSURE
#define GET_BLOOD_PRESSURE(unit) (unit getVariable [VAR_BLOOD_PRESS, [0,0]])
#define GET_BLOOD_PRESSURE(unit) ([unit] call EFUNC(circulation,getBloodPressure))
#define VAR_BLOODPRESSURE_CHANGE QEGVAR(circulation,bloodPressureChange)
#define GET_BLOODPRESSURE_CHANGE(unit) (unit getVariable [VAR_BLOODPRESSURE_CHANGE, [0,0]])

Expand Down

0 comments on commit e4285fb

Please sign in to comment.