X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame_mm%2Fmm_tools.c;fp=src%2Fgame_mm%2Fmm_tools.c;h=44fb257c855cea163f2f250e47083d2a9df7a653;hb=8b514628ff5c33f7d1bc14da0eceb770b4b64ba2;hp=d8dbe8becaa5270253801ca4a406f0255f8d1aa3;hpb=97849fee52785abc83312cb229cb481eeb530b6b;p=rocksndiamonds.git diff --git a/src/game_mm/mm_tools.c b/src/game_mm/mm_tools.c index d8dbe8be..44fb257c 100644 --- 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); + + // 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)