Skip to content

Commit f89ed8b

Browse files
author
lofcz
committed
fix #40
1 parent d725dac commit f89ed8b

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

SimplexRPGEngine/Engine source/scripts/equipmentDraw.gml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,9 @@ xoffset = 16;
606606

607607
if (!oHUD.draw_equipment) {alpha = 0;}
608608

609-
if (idd != -1 &&oInventory.equiped[oInventory.draw_equ_infobox_id])
609+
if (oInventory.draw_equipment)
610+
{
611+
if (idd != -1 && oInventory.equiped[oInventory.draw_equ_infobox_id])
610612
{
611613
fnt(fntPixel);
612614
h = oInventory.equiped_stats[oInventory.draw_equ_infobox_id,inv_item_info_head];
@@ -694,7 +696,7 @@ draw_text(x + 4, oInventory.used_y + qq + hh, text);
694696

695697
}
696698
}
697-
699+
}
698700

699701

700702
#define equipmentDrawAbilities

SimplexRPGEngine/Engine source/scripts/scrItemUpdateReinforcementStats.gml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ s = -1;
55

66
if (argument_count > 0) {s = argument[0];}
77

8-
/* Distribution:
9-
((((xx * xx) + (10 * log10(xx))) * 4) + 111.5)
10-
*/
11-
128
// Item is not in the inventory
139
if (s == -1)
1410
{

0 commit comments

Comments
 (0)