Fix broken dialogue Function_HealthPercent

deque
scrawl 10 years ago
parent d4007ad89e
commit e54ba2c5d1

@ -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…
Cancel
Save