From 3ea052bd6b0f429986d2ebae74d04a01875ac9fc Mon Sep 17 00:00:00 2001 From: Stas'M Date: Tue, 22 May 2018 20:12:57 +0300 Subject: [PATCH] Main: Fix trigger turret properties bug --- src/editor/f_main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.29.2