diff options
| author | Franklin Wei <git@fwei.tk> | 2016-01-25 16:10:46 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-01-25 16:10:46 -0500 |
| commit | a1acf425cfb00a41c7862c915eb024207658c814 (patch) | |
| tree | fcee7cf8a1c204b779ab50a3545e8671012d7643 /worlds/test.c | |
| parent | d351bb34ba256d6fbf0869485bcf75ec46646e74 (diff) | |
| download | netcosm-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.c | 2 |
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[] = { |