Fix replays

This commit is contained in:
Miloslav Ciz 2025-03-10 21:33:49 +01:00
parent c4bd226d8f
commit 588acd1e7f
6 changed files with 34 additions and 23 deletions

View file

@ -41,6 +41,10 @@ void LCR_appendDataStr(const char *str)
rewind(dataFile);
else
{
#if LCR_SETTING_LOG_LEVEL > 1
printf("SDL: appending data \"%s\"\n",str);
#endif
fclose(dataFile);
dataFile = fopen(DATA_FILE_NAME,"a");