home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Renamed all "fail" variables to "err", to reduce line lengths.
[plomrogue]
/
src
/
rexit.c
diff --git
a/src/rexit.c
b/src/rexit.c
index f7bb3f23e8553132a8ad2a84c72be0448cb61b31..b9da482f650d07597b4d2e6a92f81be7c19fed1b 100644
(file)
--- a/
src/rexit.c
+++ b/
src/rexit.c
@@
-59,8
+59,12
@@
extern void exit_game(struct World * world)
-extern void exit_err(struct World * world, char * msg)
+extern void exit_err(
unsigned char err,
struct World * world, char * msg)
{
+ if (0 == err)
+ {
+ return;
+ }
cleanup(world);
printf(msg);
exit(EXIT_FAILURE);