WIP converting to separate states. Don't think I want this.

This commit is contained in:
2025-01-03 20:21:36 -05:00
parent 717f29fcb3
commit 4be582a7a4
7 changed files with 56 additions and 48 deletions

View File

@@ -229,7 +229,8 @@ ErrorContext *tilemap_load_layer_object_actor(tilemap_object *curobj, json_t *la
} else {
actorobj->refcount += 1;
}
CATCH(errctx, get_json_properties_integer((json_t *)layerdatavalue, "state", &actorobj->state));
CATCH(errctx, get_json_properties_integer((json_t *)layerdatavalue, "logicstate", &actorobj->logicstate));
CATCH(errctx, get_json_properties_integer((json_t *)layerdatavalue, "visualstate", &actorobj->visualstate));
} CLEANUP {
if ( tmpstr != NULL ) {
IGNORE(heap_release_string(tmpstr));