diff --git a/src/g_gamedata.cpp b/src/g_gamedata.cpp index d545b8f1b..ef7480987 100644 --- a/src/g_gamedata.cpp +++ b/src/g_gamedata.cpp @@ -33,6 +33,7 @@ namespace fs = std::filesystem; #define GD_MINIMUM_SPRAYCANSV2 (2) #define GD_MINIMUM_TIMEATTACKV2 (2) +#define GD_MINIMUM_TUTORIALLOCK (2) void srb2::save_ng_gamedata() { @@ -917,6 +918,16 @@ void srb2::load_ng_gamedata() converted = true; } + if (minorversion < GD_MINIMUM_TUTORIALLOCK && gamedata->gonerlevel >= GDGONER_DONE) + { + converted = true; + uint16_t checklocks[] = {751, 752, 754}; // Brakes, Drifting, Springs + for (uint16_t checklock : checklocks) + { + gamedata->unlocked[checklock - 1] = true; + } + } + M_FinaliseGameData(); if (converted)