summary refs log tree commit diff
path: root/src/loader.c
diff options
context:
space:
mode:
authorzlago2024-10-04 21:38:14 +0200
committerzlago2024-10-04 21:39:03 +0200
commit99ab9bd22be2506c23d1e379f35583ddab4eadf6 (patch)
tree9020eaaf55ec6ce38a50f14e5815cbf8a572d7c0 /src/loader.c
parent54ff18bd32c932b47aa77497bc8a6fb6344894b6 (diff)
map transitions
Diffstat (limited to 'src/loader.c')
-rw-r--r--src/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader.c b/src/loader.c
index f132b7a..2382246 100644
--- a/src/loader.c
+++ b/src/loader.c
@@ -226,7 +226,7 @@ void res_push_collision(struct blob *blob, name_T name) {
 	collisions = res_push_blob(blob, name, collisions, blob_free_func);
 }
 
-void res_push_fun(struct entity *(*newfun)(void), int (*setfun)(struct entity *const restrict self, char const *const restrict key, char const *const restrict value), name_T name) {
+void res_push_fun(void *(*newfun)(struct entities *entities), int (*setfun)(void *const restrict self, char const *const restrict key, char const *const restrict value), name_T name) {
 	int found;
 	struct fun_item new = {.funs = {.newfun = newfun, .setfun = setfun}, .name = name};
 	struct fun_item *dst = bsearchinsertposition(&new, funs.items, funs.count, sizeof (struct fun_item), res_compare_funs, &found);