This commit is contained in:
jl777
2019-03-06 01:21:07 -11:00
parent d3e077180d
commit 435535f3a6
2 changed files with 4 additions and 4 deletions

View File

@@ -307,13 +307,13 @@ attack(struct rogue_state *rs,THING *mp)
{
remove_mon(rs,&mp->t_pos, moat(mp->t_pos.y, mp->t_pos.x), FALSE);
mp=NULL;
fprintf(stderr,"%d: (%c) hp.%d num.%d\n",counter,c,pstats.s_hpt,num_packitems(rs););
fprintf(stderr,"hp.%d num.%d\n",pstats.s_hpt,num_packitems(rs));
leave_pack(rs,steal, FALSE, FALSE);
msg(rs,"she stole %s!", inv_name(steal, TRUE));
fprintf(stderr,"%d: (%c) hp.%d num.%d\n",counter,c,pstats.s_hpt,num_packitems(rs););
fprintf(stderr," hp.%d num.%d\n",pstats.s_hpt,num_packitems(rs));
discard(steal);
fprintf(stderr,"%d: (%c) hp.%d num.%d\n",counter,c,pstats.s_hpt,num_packitems(rs););
fprintf(stderr," hp.%d num.%d\n",pstats.s_hpt,num_packitems(rs));
}
}
otherwise:

View File

@@ -167,7 +167,7 @@ readchar(struct rogue_state *rs)
fp = fopen("log","wb");
if ( fp != 0 )
{
fprintf(fp,"%d: (%c) hp.%d num.%d\n",counter,c,pstats.s_hpt,num_packitems(rs););
fprintf(fp,"%d: (%c) hp.%d num.%d\n",counter,c,pstats.s_hpt,num_packitems(rs));
fflush(fp);
counter++;
}