Skip to content

Commit fdd8883

Browse files
committed
Switch dice RNG
1 parent c2b14fa commit fdd8883

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/displayapp/screens/Dice.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Pinetime {
2929
lv_task_t* refreshTask;
3030
bool enableShakeForDice = false;
3131

32-
std::mt19937 gen;
32+
std::minstd_rand gen;
3333

3434
std::array<lv_color_t, 3> resultColors = {LV_COLOR_YELLOW, LV_COLOR_MAGENTA, LV_COLOR_AQUA};
3535
uint8_t currentColorIndex;

0 commit comments

Comments
 (0)