Fix get_star_name retrieving garbage data
This commit is contained in:
parent
59ef3bdfee
commit
8ad80f9128
|
@ -41,6 +41,7 @@ AT_STARTUP static void smlua_text_utils_init() {
|
|||
snprintf(courseActNames->name, 50, "%s", courseBuffer);
|
||||
snprintf(courseActNames->orig, 50, "%s", courseBuffer);
|
||||
courseActNames->modIndex = -1;
|
||||
courseActNames->actName = NULL;
|
||||
|
||||
// Individual acts
|
||||
if (COURSE_IS_MAIN_COURSE(courseNum)) {
|
||||
|
|
Loading…
Reference in New Issue