home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bug that corrupted record files.
[plomrogue]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index f8118674616aed8195a50e6502749b4ed107e11b..1f9d7f7b89c01ee591f8ce911433f9238f323be8 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-131,7
+131,7
@@
int main(int argc, char *argv[])
if (0 == world.interactive)
{
file = fopen(recordfile, "r");
- exit_err(
0
== file, &world, err_o);
+ exit_err(
NULL
== file, &world, err_o);
exit_err(read_uint32_bigendian(file, &world.seed), &world, err_r);
}