Fuse prints

This commit is contained in:
jl777
2019-03-13 06:39:21 -11:00
parent e5d33bab93
commit 5b32b491b6
4 changed files with 22 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ command(struct rogue_state *rs)
* Let the daemons start up
*/
do_daemons(rs,BEFORE);
do_fuses(rs,BEFORE);
do_fuses(rs,BEFORE,0);
while (ntimes--)
{
if ( rs->replaydone != 0 )
@@ -479,7 +479,7 @@ over:
fprintf(fp2,"after daemons (%c).%d seed.%llu isring.%d teleport.%d || search.%d teleport.%d\n",ch,ch,(long long)seed,ISRING(LEFT, R_SEARCH),ISRING(LEFT, R_TELEPORT),ISRING(RIGHT, R_SEARCH),ISRING(RIGHT, R_TELEPORT));
fflush(fp2);
}
do_fuses(rs,AFTER);
do_fuses(rs,AFTER,fp2);
if ( fp2 != 0 )
{
fprintf(fp2,"after fuses (%c).%d seed.%llu isring.%d teleport.%d || search.%d teleport.%d\n",ch,ch,(long long)seed,ISRING(LEFT, R_SEARCH),ISRING(LEFT, R_TELEPORT),ISRING(RIGHT, R_SEARCH),ISRING(RIGHT, R_TELEPORT));