diff --git a/source/sw/src/scrip2.cpp b/source/sw/src/scrip2.cpp index 1b35cca3e..b5887a2cc 100644 --- a/source/sw/src/scrip2.cpp +++ b/source/sw/src/scrip2.cpp @@ -628,7 +628,7 @@ void LoadCustomInfoFromScript(const char *filename) char *t; if (scriptfile_getstring(script, &t)) break; - Bfree(custommaps[curmap].LevelName); + //Bfree(custommaps[curmap].LevelName); custommaps[curmap].LevelName = strdup(t); LevelInfo[curmap].LevelName = custommaps[curmap].LevelName; break; @@ -638,7 +638,7 @@ void LoadCustomInfoFromScript(const char *filename) char *t; if (scriptfile_getstring(script, &t)) break; - Bfree(custommaps[curmap].SongName); + //Bfree(custommaps[curmap].SongName); custommaps[curmap].SongName = strdup(t); LevelInfo[curmap].SongName = custommaps[curmap].SongName; break; @@ -648,7 +648,7 @@ void LoadCustomInfoFromScript(const char *filename) char *t; if (scriptfile_getstring(script, &t)) break; - Bfree(custommaps[curmap].Description); + //Bfree(custommaps[curmap].Description); custommaps[curmap].Description = strdup(t); LevelInfo[curmap].Description = custommaps[curmap].Description; break; @@ -660,7 +660,7 @@ void LoadCustomInfoFromScript(const char *filename) if (scriptfile_getnumber(script, &n)) break; Bsnprintf(s, 10, "%d : %02d", n/60, n%60); - Bfree(custommaps[curmap].BestTime); + //Bfree(custommaps[curmap].BestTime); custommaps[curmap].BestTime = strdup(s); LevelInfo[curmap].BestTime = custommaps[curmap].BestTime; break; @@ -672,7 +672,7 @@ void LoadCustomInfoFromScript(const char *filename) if (scriptfile_getnumber(script, &n)) break; Bsnprintf(s, 10, "%d : %02d", n/60, n%60); - Bfree(custommaps[curmap].ParTime); + //Bfree(custommaps[curmap].ParTime); custommaps[curmap].ParTime = strdup(s); LevelInfo[curmap].ParTime = custommaps[curmap].ParTime; break;