From 471e805884e476b363ac59bb84686e23df608d20 Mon Sep 17 00:00:00 2001 From: poco0317 Date: Sat, 1 Dec 2018 02:09:55 -0600 Subject: [PATCH] raise the limit to the number of diffs you can have (because i have files with 18 diffs on them and it crashed hahaha) --- src/DifficultyList.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/DifficultyList.cpp b/src/DifficultyList.cpp index b1186e127d..c8210e6487 100644 --- a/src/DifficultyList.cpp +++ b/src/DifficultyList.cpp @@ -13,7 +13,10 @@ /** @brief Specifies the max number of charts available for a song. * * This includes autogenned charts. */ -#define MAX_METERS 12 // kinda restrictive but im also as lazy as sm5 devs -mina +// reasonable limit to chart amount. if someone consistently crashes when +// scrolling on a chart that has 25 diffs, THIS IS WHY +// (this is a hardcoded value to optimize stepstype hover or something) -poco +#define MAX_METERS 24 REGISTER_ACTOR_CLASS(StepsDisplayList);