forked from mirror/openmw-tes3mp
Fix broken dialogue Function_HealthPercent
This commit is contained in:
parent
d4007ad89e
commit
e54ba2c5d1
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ bool MWDialogue::Filter::testSelectStructNumeric (const SelectWrapper& select) c
|
|||
float ratio = mActor.getClass().getCreatureStats (mActor).getHealth().getCurrent() /
|
||||
mActor.getClass().getCreatureStats (mActor).getHealth().getModified();
|
||||
|
||||
return select.selectCompare (ratio);
|
||||
return select.selectCompare (static_cast<int>(ratio*100));
|
||||
}
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue