Mercurial > hg > early-roguelike
diff xrogue/rogue.c @ 145:aac28331e71d
Advanced Rogue family: fix the "score" option.
Changing the score file (when permitted) now works again, closing the
old score file and opening the new one.
author | John "Elwin" Edwards |
---|---|
date | Wed, 20 May 2015 08:42:17 -0400 |
parents | 1fbdefa82533 |
children | 0250220d8cdd |
line wrap: on
line diff
--- a/xrogue/rogue.c Mon May 18 10:53:22 2015 -0400 +++ b/xrogue/rogue.c Wed May 20 08:42:17 2015 -0400 @@ -126,6 +126,9 @@ bool daytime = TRUE; bool funfont = FALSE; +FILE *scorefi = NULL; +FILE *logfile = NULL; + LEVTYPE levtype; /* what type of level am i'm on? */ char *nothing = "Nothing seems to happen. ";