From: Holger Schemel Date: Mon, 6 Mar 2006 12:34:35 +0000 (+0100) Subject: rnd-20060306-1-src X-Git-Tag: 3.2.0^2~55 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8384bb8b95c79c4c336d10de9a87a7287ecfd19c;p=rocksndiamonds.git rnd-20060306-1-src * fixed bug with missing (zero) score values for native Supaplex levels --- diff --git a/ChangeLog b/ChangeLog index 36366f10..b9b13f22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-03-06 + * fixed bug with missing (zero) score values for native Supaplex levels + 2006-03-05 * added "continuous snapping" (snapping many elements while holding the snap key pressed, without releasing the snap key after each element) diff --git a/src/conftime.h b/src/conftime.h index 02bdb45e..828034f9 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2006-03-05 13:50]" +#define COMPILE_DATE_STRING "[2006-03-06 13:34]" diff --git a/src/files.c b/src/files.c index c2b9d0e0..eccd265d 100644 --- a/src/files.c +++ b/src/files.c @@ -2980,8 +2980,12 @@ static void LoadLevelFromFileStream_SP(FILE *file, struct LevelInfo *level, level->time_wheel = 0; level->amoeba_content = EL_EMPTY; +#if 1 + /* original Supaplex does not use score values -- use default values */ +#else for (i = 0; i < LEVEL_SCORE_ELEMENTS; i++) level->score[i] = 0; /* !!! CORRECT THIS !!! */ +#endif /* there are no yamyams in supaplex levels */ for (i = 0; i < level->num_yamyam_contents; i++)