mirror of https://github.com/sm64pc/sm64pc.git
Fixed BITDW level name
This commit is contained in:
parent
8f5b1b74c2
commit
b20e3c7940
|
@ -104,8 +104,11 @@ void load_language(char* jsonTxt, s8 language){
|
|||
const cJSON *act = NULL;
|
||||
char* courseName = cJSON_GetObjectItemCaseSensitive(course, "course")->valuestring;
|
||||
|
||||
if(courseID + 1 <= cJSON_GetArraySize(courses) - 1){
|
||||
languages[language]->courses[courseID] = getTranslatedText(courseName);
|
||||
courseID++;
|
||||
}
|
||||
|
||||
cJSON_ArrayForEach(act, acts) {
|
||||
languages[language]->acts[actID] = getTranslatedText(act->valuestring);
|
||||
actSize += strlen(act->valuestring);
|
||||
|
|
Loading…
Reference in New Issue