projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba3aeb2
)
code cleanup
author
Holger Schemel
<info@artsoft.org>
Wed, 2 Nov 2022 14:20:07 +0000
(15:20 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 2 Nov 2022 14:20:07 +0000
(15:20 +0100)
src/game_mm/mm_tools.c
patch
|
blob
|
history
diff --git
a/src/game_mm/mm_tools.c
b/src/game_mm/mm_tools.c
index 1f23bc902c0114420e544d7ed68635a391cb98a1..2c34884abb7dd4d2ece638e99062a4044ccd6188 100644
(file)
--- 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)