projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed incorrectly using steelwall border for non-R'n'D engine levels
[rocksndiamonds.git]
/
src
/
tools.c
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;
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++)
return;
for (y = 0; y < lev_fieldy && BorderElement == EL_EMPTY; y++)