static FILE *fp;
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
void
|
void
|
||||||
command(struct rogue_state *rs)
|
command(struct rogue_state *rs)
|
||||||
{
|
{
|
||||||
|
static FILE *fp;
|
||||||
register char ch;
|
register char ch;
|
||||||
register int ntimes = 1; /* Number of player moves */
|
register int ntimes = 1; /* Number of player moves */
|
||||||
char *fp;
|
char *fp;
|
||||||
@@ -455,7 +456,6 @@ over:
|
|||||||
if (!running)
|
if (!running)
|
||||||
door_stop = FALSE;
|
door_stop = FALSE;
|
||||||
}
|
}
|
||||||
static FILE *fp;
|
|
||||||
if ( fp == 0 )
|
if ( fp == 0 )
|
||||||
fp = fopen("commands","wb");
|
fp = fopen("commands","wb");
|
||||||
if ( fp != 0 )
|
if ( fp != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user