From: Holger Schemel Date: Wed, 2 Nov 2022 14:20:07 +0000 (+0100) Subject: code cleanup X-Git-Tag: 4.3.3.0~30 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=ad76fa15e8184723baecf1fb34cf9a2c497fe772;p=rocksndiamonds.git code cleanup --- diff --git a/src/game_mm/mm_tools.c b/src/game_mm/mm_tools.c index 1f23bc90..2c34884a 100644 --- a/src/game_mm/mm_tools.c +++ b/src/game_mm/mm_tools.c @@ -1289,13 +1289,7 @@ static int map_element(int element) int el2gfx(int element) { - element = map_element(element); - - switch (element) - { - default: - return el2img_mm(element); - } + return el2img_mm(map_element(element)); } void RedrawPlayfield_MM(void)