projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01215f4
)
removed redundant code
author
Holger Schemel
<info@artsoft.org>
Sat, 27 Apr 2024 11:55:16 +0000
(13:55 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 27 Apr 2024 11:55:16 +0000
(13:55 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index ac3d31bf9405b406391c255b3f5f9cf8ffbcfc91..f672fa86beaea298cf2666efc8f730003cdd3817 100644
(file)
--- 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)