mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-27 12:26:35 -05:00
Fix count set
flag2 -> count, no longer need to downcast to byte
This commit is contained in:
@@ -34,7 +34,7 @@ public Item SetItem(Item item)
|
||||
{
|
||||
var id = WinFormsUtil.GetIndex(CB_ItemID);
|
||||
item.ItemId = (ushort) id;
|
||||
item.Count = (byte) NUD_Count.Value;
|
||||
item.Count = (ushort) NUD_Count.Value;
|
||||
item.UseCount = (ushort) NUD_Uses.Value;
|
||||
item.Flags0 = (byte) NUD_Flag0.Value;
|
||||
item.Flags1 = (byte) NUD_Flag1.Value;
|
||||
|
||||
Reference in New Issue
Block a user