From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 25 Sep 2013 22:44:57 +0000 (+0200)
Subject: Fixed referencing non-tracked map object definitions file.
X-Git-Tag: tce~949
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bprefix%7D%7D/condition?a=commitdiff_plain;h=70e61f84d109d0f3072ab569774424b83136ae58;p=plomrogue

Fixed referencing non-tracked map object definitions file.
---

diff --git a/config/defs b/config/defs
index 5761952..dda0c77 100644
--- a/config/defs
+++ b/config/defs
@@ -1,5 +1,5 @@
-1 m a 4 1 ANT
-2 m z 5 3 ZOMBIE
-3 m S 5 9 SHOGGOTH
-4 i # DIRT
-5 i % SKELETON
+1 4 a 1 ANT
+2 5 z 3 ZOMBIE
+3 5 S 9 SHOGGOTH
+4 4 # 0 DIRT
+5 4 % 0 SKELETON
diff --git a/src/main.c b/src/main.c
index 71a5370..06156fc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
     struct Player player;
     player.hitpoints = 5;
     world.player = &player;
-    init_map_object_defs(&world, "config/defs2");
+    init_map_object_defs(&world, "config/defs");
     set_cleanup_flag(CLEANUP_MAP_OBJECT_DEFS);
     world.map_obj_count = 1;