projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2140fc8
)
fixed saving score tape if no tape was recorded
author
Holger Schemel
<info@artsoft.org>
Sat, 24 Apr 2021 23:15:07 +0000
(
01:15
+0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 1 May 2021 13:38:30 +0000
(15:38 +0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index d7ba00f66daf12a950114f8fb1b27413526c6617..78101becf1c76f8e48e12a5ef252c4344c753350 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-5122,8
+5122,10
@@
int NewHighScore(int level_nr)
if (position >= 0)
{
- SaveScoreTape(level_nr);
SaveScore(level_nr);
+
+ if (game.LevelSolved_SaveTape)
+ SaveScoreTape(level_nr);
}
return position;