mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-04 15:27:30 +07:00
Rolled back change on func check for dsc2line
This commit is contained in:
@ -306,7 +306,7 @@ public class SpellsPanel extends WidgetGroup implements Disposable, CharData.Ski
|
||||
add(new Label(Riiablo.string.lookup("skilldesc3") + skill.reqlevel, font)).center().space(SPACING).row();
|
||||
}
|
||||
for (int i = 0; i < desc.dsc2line.length; i++) {
|
||||
if (desc.dsc2line[i] <= 1) break;
|
||||
if (desc.dsc2line[i] <= 0) break;
|
||||
if (i == 0) add().height(font.getLineHeight()).center().space(SPACING).row();
|
||||
String str = calc(desc, i, desc.descline, desc.dsc2texta, desc.dsc2textb, desc.dsc2calca, desc.dsc2calcb, skill, sLvl);
|
||||
if (str != null) add(new Label(str, Riiablo.fonts.font16)).center().space(SPACING).row();
|
||||
|
Reference in New Issue
Block a user