projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f97934
)
changed fallback to default level set on errors only when run interactively
author
Holger Schemel
<info@artsoft.org>
Thu, 11 Jan 2018 12:46:09 +0000
(13:46 +0100)
committer
Holger Schemel
<info@artsoft.org>
Thu, 11 Jan 2018 12:48:19 +0000
(13:48 +0100)
src/init.c
patch
|
blob
|
history
diff --git
a/src/init.c
b/src/init.c
index 884ee541da6d5ca818c5359dd1d0d300404731ed..54f4277d736fc9843ce9a583c9983dc10fc0782e 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-6115,7
+6115,7
@@
void CloseAllAndExit(int exit_value)
CloseVideoDisplay();
ClosePlatformDependentStuff();
- if (exit_value != 0)
+ if (exit_value != 0
&& !options.execute_command
)
{
/* fall back to default level set (current set may have caused an error) */
SaveLevelSetup_LastSeries_Deactivate();