projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2276856
)
disabled auto-incrementing level number when playing in network mode
author
Holger Schemel
<info@artsoft.org>
Sat, 25 Aug 2018 13:05:31 +0000
(15:05 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 25 Aug 2018 13:05:31 +0000
(15:05 +0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 36f0a08f0cad7cb995589fa64cec813b2426210f..a84acfb8f5b90cfe87c819c8e270b4aec70d6e49 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-4703,7
+4703,8
@@
void GameEnd()
}
if (setup.increment_levels &&
- level_nr < leveldir_current->last_level)
+ level_nr < leveldir_current->last_level &&
+ !network_playing)
{
level_nr++; /* advance to next level */
TapeErase(); /* start with empty tape */