changed loading native Supaplex levels to rate high scores by playing time
authorHolger Schemel <info@artsoft.org>
Sat, 20 Mar 2021 09:30:48 +0000 (10:30 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 1 May 2021 13:38:01 +0000 (15:38 +0200)
src/files.c

index 133a2d2609b2515de8b5eeb3edf82d34ae65a798..104ecb4d3560b2f29fa9ac41cfd59569036cf557 100644 (file)
@@ -3938,12 +3938,11 @@ static void CopyNativeLevel_SP_to_RND(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
+  // original Supaplex does not use score values -- rate by playing time
   for (i = 0; i < LEVEL_SCORE_ELEMENTS; i++)
     level->score[i] = 0;
-#endif
+
+  level->rate_time_over_score = TRUE;
 
   // there are no yamyams in supaplex levels
   for (i = 0; i < level->num_yamyam_contents; i++)