projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5db2619
)
added using invisible border element for Mirror Magic game engine
author
Holger Schemel
<info@artsoft.org>
Sat, 25 Feb 2017 18:54:28 +0000
(19:54 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:09 +0000
(23:21 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index e9ee41ae18e4208676b975b1b80f984b85b24c12..3dd167c7ce84f5e8cb200bda990cc006cc7542c8 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1360,6
+1360,10
@@
void SetBorderElement()
BorderElement = EL_EMPTY;
+ /* the MM game engine does not use a visible border element */
+ if (level.game_engine_type == GAME_ENGINE_TYPE_MM)
+ return;
+
for (y = 0; y < lev_fieldy && BorderElement == EL_EMPTY; y++)
{
for (x = 0; x < lev_fieldx; x++)