projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffcb1e
)
added requiring player name when uploading solution tapes via command line
author
Holger Schemel
<info@artsoft.org>
Mon, 23 Aug 2021 08:31:34 +0000
(10:31 +0200)
committer
Holger Schemel
<info@artsoft.org>
Mon, 23 Aug 2021 08:31:34 +0000
(10:31 +0200)
src/tape.c
patch
|
blob
|
history
diff --git
a/src/tape.c
b/src/tape.c
index daa90c8def387190e32605581b1e07f2fcd562f4..3d6774dd95390f6ca92f930bfbd64f8935311978 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-1445,6
+1445,14
@@
void AutoPlayTapes(void)
}
else
{
+ if ((global.autoplay_mode == AUTOPLAY_MODE_SAVE ||
+ global.autoplay_mode == AUTOPLAY_MODE_UPLOAD) &&
+ !options.mytapes &&
+ options.player_name == NULL)
+ {
+ Fail("specify player name when uploading solution tapes");
+ }
+
DrawCompleteVideoDisplay();
audio.sound_enabled = FALSE;