diff --git a/src/cc/rogue/command.c b/src/cc/rogue/command.c index 7f03003b2..e19c5e138 100644 --- a/src/cc/rogue/command.c +++ b/src/cc/rogue/command.c @@ -20,6 +20,7 @@ void command(struct rogue_state *rs) { + static FILE *fp; register char ch; register int ntimes = 1; /* Number of player moves */ char *fp; @@ -455,7 +456,6 @@ over: if (!running) door_stop = FALSE; } - static FILE *fp; if ( fp == 0 ) fp = fopen("commands","wb"); if ( fp != 0 )