From a1acf425cfb00a41c7862c915eb024207658c814 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 25 Jan 2016 16:10:46 -0500 Subject: inventory works --- worlds/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worlds') 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[] = { -- cgit v1.1