From: Stas'M Date: Tue, 22 May 2018 17:12:57 +0000 (+0300) Subject: Main: Fix trigger turret properties bug X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=3ea052bd6b0f429986d2ebae74d04a01875ac9fc;p=d2df-editor.git Main: Fix trigger turret properties bug --- diff --git a/src/editor/f_main.pas b/src/editor/f_main.pas index d543e3f..e263534 100644 --- a/src/editor/f_main.pas +++ b/src/editor/f_main.pas @@ -1482,7 +1482,7 @@ begin 3: str := _lc[I_PROP_TR_SHOT_AIM_3]; else str := _lc[I_PROP_TR_SHOT_AIM_0]; end; - with ItemProps[InsertRow(_lc[I_PROP_TR_SHOT_AIM], str, True)-1] do + with ItemProps[InsertRow(_lc[I_PROP_TR_SHOT_AIM], str, True)] do begin EditStyle := esPickList; ReadOnly := True;