home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add to TODO.
[plomrogue]
/
src
/
server
/
init.c
diff --git
a/src/server/init.c
b/src/server/init.c
index 219223ba5e0ba7dc39ef1573443836e4aea4cf3d..624d800f6db17a0492922fc1aba7fe867fb66f57 100644
(file)
--- a/
src/server/init.c
+++ b/
src/server/init.c
@@
-148,7
+148,7
@@
extern void remake_world()
{
t->fov_map = t->lifepoints ? build_fov_map(t) : NULL;
}
{
t->fov_map = t->lifepoints ? build_fov_map(t) : NULL;
}
- if (!access(s[PATH_RECORD], F_OK))
+ if (!
world.replay && !
access(s[PATH_RECORD], F_OK))
{
exit_trouble(unlink(s[PATH_RECORD]), f_name, "unlink()");
}
{
exit_trouble(unlink(s[PATH_RECORD]), f_name, "unlink()");
}