mirror of
https://github.com/kwsch/NHSE.git
synced 2026-06-03 06:24:50 -05:00
Fix count set
flag2 -> count, no longer need to downcast to byte
This commit is contained in:
parent
b6e19f079d
commit
3eb8b4eabd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user