comparison urogue/rip.c @ 300:0250220d8cdd

Fix an assortment of compiler warnings. A few potential bugs were removed in the process. Much code cleanup remains to be done.
author John "Elwin" Edwards
date Fri, 22 Nov 2019 21:18:27 -0500
parents 1bbdd13ec585
children e52a8a7ad4c5
comparison
equal deleted inserted replaced
299:74351bf23e5e 300:0250220d8cdd
406 else if (flags == WINNER || flags == TOTAL) { 406 else if (flags == WINNER || flags == TOTAL) {
407 strcpy(fate, "escaped"); 407 strcpy(fate, "escaped");
408 } 408 }
409 else 409 else
410 return; 410 return;
411 fprintf(file_log, "%d %d %s %d %s %d %d %d %s\n", time(NULL), amount, 411 fprintf(file_log, "%ld %ld %s %d %s %d %d %d %s\n", time(NULL), amount,
412 whoami, lvl, which_class(player.t_ctype), level, max_level, 412 whoami, lvl, which_class(player.t_ctype), level, max_level,
413 has_artifact, fate); 413 has_artifact, fate);
414 fclose(file_log); 414 fclose(file_log);
415 return; 415 return;
416 } 416 }
417 417