Skip to content

Commit

Permalink
Medical Engine - Fix limping not applying with open wounds (#10307)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 authored Sep 11, 2024
1 parent 5d4f1cd commit 07f10b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (!_isLimping && {EGVAR(medical,limping) > 0}) then {
(_xAmountOf > 0)
&& {_xDamage > LIMPING_DAMAGE_THRESHOLD}
// select _causeLimping from woundDetails
&& {(EGVAR(medical_damage,woundDetails) get (_xClassID / 10)) select 3}
&& {(EGVAR(medical_damage,woundDetails) get (floor (_xClassID / 10))) select 3}
) exitWith {
TRACE_1("limping because of wound",_x);
_isLimping = true;
Expand Down

0 comments on commit 07f10b9

Please sign in to comment.