aboutsummaryrefslogtreecommitdiff
path: root/worlds/test.c
diff options
context:
space:
mode:
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[] = {