X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.c;h=2cc0b39962eba632c9606af412956264e3a64f64;hp=9e8e39bc891acd6df9d205afa9844ca8251cabd6;hb=50c422d96b6da2c0412b6bd3763e9d1a029a6014;hpb=684ddd785539f8e049791894a3246db5dc020766 diff --git a/src/tape.c b/src/tape.c index 9e8e39bc..2cc0b399 100644 --- a/src/tape.c +++ b/src/tape.c @@ -20,6 +20,7 @@ void TapeStartRecording() { time_t zeit1 = time(NULL); struct tm *zeit2 = localtime(&zeit1); + int i; if (!TAPE_IS_STOPPED(tape)) TapeStop(); @@ -35,6 +36,9 @@ void TapeStartRecording() tape.date = 10000*(zeit2->tm_year%100) + 100*zeit2->tm_mon + zeit2->tm_mday; tape.random_seed = InitRND(NEW_RANDOMIZE); + for(i=0; i tape.length_seconds - PAUSE_SECONDS_BEFORE_DEATH)