From: Holger Schemel Date: Sat, 27 Apr 2024 11:55:16 +0000 (+0200) Subject: removed redundant code X-Git-Tag: 4.4.0.0-test-1~28 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=90863c926554302e589b60a85a3468b31292c4ff;p=rocksndiamonds.git removed redundant code --- 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)