Avoid seed of 0

This commit is contained in:
jl777
2019-02-02 08:45:17 -11:00
parent b319a87bef
commit 45be9c6188

View File

@@ -110,6 +110,8 @@ long get_filesize(FILE *fp)
int32_t rogue_replay(uint64_t seed)
{
FILE *fp; char fname[1024]; char *keystrokes = 0; long num=0,fsize; int32_t i,counter = 0; struct rogue_state *rs;
if ( seed == 0 )
seed = 777;
while ( 1 )
{
roguefname(fname,seed,counter);