Fixed another parse error.
authorBill Kendrick <nbs@sonic.net>
Tue, 30 Dec 2003 07:42:14 +0000 (07:42 +0000)
committerBill Kendrick <nbs@sonic.net>
Tue, 30 Dec 2003 07:42:14 +0000 (07:42 +0000)
SVN-Revision: 82

src/gameloop.c

index 2a1cfa1..a8a704b 100644 (file)
@@ -3875,15 +3875,15 @@ void savegame(void)
 
 void loadgame(char* filename)
 {
-char savefile[300];
-
-time_t current_time = time(NULL);
-struct tm* time_struct;
-time_struct = localtime(&current_time);
-sprintf(savefile,"%s/%d-%d-%d-%d.save",st_save_dir,time_struct->tm_year+1900,time_struct->tm_mon,time_struct->tm_mday,time_struct->tm_hour);
-printf("%s",savefile);
+  char savefile[300];
+  FILE* fi;
+  time_t current_time = time(NULL);
+  struct tm* time_struct;
+  
+  time_struct = localtime(&current_time);
+  sprintf(savefile,"%s/%d-%d-%d-%d.save",st_save_dir,time_struct->tm_year+1900,time_struct->tm_mon,time_struct->tm_mday,time_struct->tm_hour);
+  printf("%s",savefile);
 
-FILE* fi;
 
   fi = fopen(savefile, "rb");