diff --git a/desktop_version/src/Logic.cpp b/desktop_version/src/Logic.cpp index 72d5f7ea..0d5cb5cd 100644 --- a/desktop_version/src/Logic.cpp +++ b/desktop_version/src/Logic.cpp @@ -502,7 +502,7 @@ void gamelogic(void) if (map.final_colorframe == 1) { map.final_colorframedelay = 40; - int temp = 1+int(fRandom() * 6); + int temp = 1+int(fRandom() * 5); if (temp == map.final_mapcol) temp = (temp + 1) % 6; if (temp == 0) temp = 6; map.changefinalcol(temp); @@ -510,7 +510,7 @@ void gamelogic(void) else if (map.final_colorframe == 2) { map.final_colorframedelay = 15; - int temp = 1+int(fRandom() * 6); + int temp = 1+int(fRandom() * 5); if (temp == map.final_mapcol) temp = (temp + 1) % 6; if (temp == 0) temp = 6; map.changefinalcol(temp);