aboutsummaryrefslogtreecommitdiff
path: root/worlds/test.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2016-01-25 16:10:46 -0500
committerFranklin Wei <git@fwei.tk>2016-01-25 16:10:46 -0500
commita1acf425cfb00a41c7862c915eb024207658c814 (patch)
treefcee7cf8a1c204b779ab50a3545e8671012d7643 /worlds/test.c
parentd351bb34ba256d6fbf0869485bcf75ec46646e74 (diff)
downloadnetcosm-a1acf425cfb00a41c7862c915eb024207658c814.zip
netcosm-a1acf425cfb00a41c7862c915eb024207658c814.tar.gz
netcosm-a1acf425cfb00a41c7862c915eb024207658c814.tar.bz2
netcosm-a1acf425cfb00a41c7862c915eb024207658c814.tar.xz
inventory works
Diffstat (limited to 'worlds/test.c')
-rw-r--r--worlds/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/worlds/test.c b/worlds/test.c
index d009e2c..3f43a7a 100644
--- a/worlds/test.c
+++ b/worlds/test.c
@@ -14,7 +14,7 @@ static void portal_init(room_id id)
new->userdata = malloc(sizeof(double));
double p = 3.14159265358979323846L;
memcpy(new->userdata, &p, sizeof(p));
- obj_add(id, new);
+ room_obj_add(id, new);
}
const struct roomdata_t netcosm_world[] = {