mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix get_star_name retrieving garbage data
This commit is contained in:
parent
b61574d2c6
commit
8f4101cb7b
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ AT_STARTUP static void smlua_text_utils_init() {
|
||||||
snprintf(courseActNames->name, 50, "%s", courseBuffer);
|
snprintf(courseActNames->name, 50, "%s", courseBuffer);
|
||||||
snprintf(courseActNames->orig, 50, "%s", courseBuffer);
|
snprintf(courseActNames->orig, 50, "%s", courseBuffer);
|
||||||
courseActNames->modIndex = -1;
|
courseActNames->modIndex = -1;
|
||||||
|
courseActNames->actName = NULL;
|
||||||
|
|
||||||
// Individual acts
|
// Individual acts
|
||||||
if (COURSE_IS_MAIN_COURSE(courseNum)) {
|
if (COURSE_IS_MAIN_COURSE(courseNum)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue