home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Individual map objects are now identified by unique numbers stored in the savefiles...
[plomrogue]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index f261e39f94fd008912bee0379e345eebc0bb5921..2c096aef69d6f3450d0b5fa718ee67f661d0cd0d 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-94,6
+94,7
@@
int main(int argc, char *argv[])
world.item = 0;
init_map_object_defs(&world, "config/defs");
set_cleanup_flag(CLEANUP_MAP_OBJECT_DEFS);
world.item = 0;
init_map_object_defs(&world, "config/defs");
set_cleanup_flag(CLEANUP_MAP_OBJECT_DEFS);
+ world.map_object_count = 1;
/* For interactive mode, try to load world state from savefile. */
char * err_r = "Trouble loading game (in main()) / "
/* For interactive mode, try to load world state from savefile. */
char * err_r = "Trouble loading game (in main()) / "