Skip to content

Commit

Permalink
Merge branch 'facehuggersgalore' into 'master'
Browse files Browse the repository at this point in the history
Make GetHealthGetRatio return 1 for actors with a max health of 0

See merge request OpenMW/openmw!4453
  • Loading branch information
psi29a committed Nov 14, 2024
2 parents 0044346 + d6e300b commit 43f25fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openmw/mwscript/statsextensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ namespace MWScript

const MWMechanics::CreatureStats& stats = ptr.getClass().getCreatureStats(ptr);

runtime.push(stats.getDynamic(mIndex).getRatio());
runtime.push(stats.getDynamic(mIndex).getRatio(false));
}
};

Expand Down

0 comments on commit 43f25fe

Please sign in to comment.