projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8167a6
)
fixed incorrectly using steelwall border for non-R'n'D engine levels
author
Holger Schemel
<info@artsoft.org>
Thu, 20 Feb 2020 12:56:59 +0000
(13:56 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 19 May 2020 16:19:59 +0000
(18:19 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index d05d636588618f25027e5db12b70e69b914c780b..078af1ba745e4fe6ae521f619d4a38d771d223cc 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1462,8
+1462,8
@@
void SetBorderElement(void)
BorderElement = EL_EMPTY;
- //
the MM game engine does not use a visible border element
- if (level.game_engine_type
== GAME_ENGINE_TYPE_MM
)
+ //
only the R'n'D game engine may use an additional steelwall border
+ if (level.game_engine_type
!= GAME_ENGINE_TYPE_RND
)
return;
for (y = 0; y < lev_fieldy && BorderElement == EL_EMPTY; y++)