From 90863c926554302e589b60a85a3468b31292c4ff Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 27 Apr 2024 13:55:16 +0200 Subject: [PATCH] removed redundant code --- src/tools.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tools.c b/src/tools.c index ac3d31bf..f672fa86 100644 --- a/src/tools.c +++ b/src/tools.c @@ -10167,9 +10167,7 @@ int el2edimg(int element) int el2edimg_with_frame(int element, int *graphic, int *frame) { - element = GFX_ELEMENT(element); - - *graphic = element_info[element].special_graphic[GFX_SPECIAL_ARG_EDITOR]; + *graphic = el2edimg(element); *frame = 0; if (*graphic == IMG_UNKNOWN) -- 2.34.1