projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed playing older tapes for MM engine
[rocksndiamonds.git]
/
src
/
game_mm
/
mm_tools.c
diff --git
a/src/game_mm/mm_tools.c
b/src/game_mm/mm_tools.c
index d8dbe8becaa5270253801ca4a406f0255f8d1aa3..44fb257c855cea163f2f250e47083d2a9df7a653 100644
(file)
--- a/
src/game_mm/mm_tools.c
+++ b/
src/game_mm/mm_tools.c
@@
-398,6
+398,11
@@
void DrawField_MM(int x, int y)
int element = Tile[x][y];
DrawElement_MM(x, y, element);
int element = Tile[x][y];
DrawElement_MM(x, y, element);
+
+ // old game versions randomly changed colors of bonus light balls
+ if (game.engine_version < VERSION_IDENT(4,3,3,0) &&
+ element == EL_LIGHTBALL && game_mm.lightball_rnd)
+ RND(3);
}
void DrawLevel_MM(void)
}
void DrawLevel_MM(void)