X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-editor.git;a=blobdiff_plain;f=src%2Feditor%2Ff_main.pas;h=d40610abd027e358c38bd3916a6ba3f53c979e57;hp=e2fdc20540eb336e1dd0f611588044788c4149bf;hb=HEAD;hpb=e0fc0ed3e766f6b2c339586976198bdf1bbea66d diff --git a/src/editor/f_main.pas b/src/editor/f_main.pas index e2fdc20..d40610a 100644 --- a/src/editor/f_main.pas +++ b/src/editor/f_main.pas @@ -3420,7 +3420,7 @@ begin else begin item.ItemType := lbItemList.ItemIndex + ITEM_MEDKIT_SMALL; - if item.ItemType >= ITEM_WEAPON_KASTET then + if item.ItemType >= ITEM_WEAPON_IRONFIST then item.ItemType := item.ItemType + 2; item.X := MousePos.X-MapOffset.X; item.Y := MousePos.Y-MapOffset.Y; @@ -6239,7 +6239,7 @@ begin if ShowModal() = mrOK then begin b := lbTypeSelect.ItemIndex + ITEM_MEDKIT_SMALL; - if b >= ITEM_WEAPON_KASTET then + if b >= ITEM_WEAPON_IRONFIST then b := b + 2; Values[Key] := ItemToStr(b); vleObjectPropertyApply(Sender);