From: Holger Schemel Date: Sat, 6 May 2017 22:28:22 +0000 (+0200) Subject: fixed bug with copying wrong score entry between RND and MM levels X-Git-Tag: 4.1.0.0~115 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e436fa7c34d639bab7ce690267975e34b67191b4;p=rocksndiamonds.git fixed bug with copying wrong score entry between RND and MM levels --- diff --git a/src/files.c b/src/files.c index d18122f2..4bebae7f 100644 --- a/src/files.c +++ b/src/files.c @@ -3995,7 +3995,7 @@ void CopyNativeLevel_RND_to_MM(struct LevelInfo *level) strcpy(level_mm->author, level->author); level_mm->score[SC_PACMAN] = level->score[SC_PACMAN]; - level_mm->score[SC_KEY] = level->score[SC_PACMAN]; + level_mm->score[SC_KEY] = level->score[SC_KEY]; level_mm->score[SC_TIME_BONUS] = level->score[SC_TIME_BONUS]; level_mm->amoeba_speed = level->amoeba_speed; @@ -4034,7 +4034,7 @@ void CopyNativeLevel_MM_to_RND(struct LevelInfo *level) strcpy(level->author, level_mm->author); level->score[SC_PACMAN] = level_mm->score[SC_PACMAN]; - level->score[SC_KEY] = level_mm->score[SC_PACMAN]; + level->score[SC_KEY] = level_mm->score[SC_KEY]; level->score[SC_TIME_BONUS] = level_mm->score[SC_TIME_BONUS]; level->amoeba_speed = level_mm->amoeba_speed;