summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-16 00:37:25 -0400
committerXANTRONIX Development2022-03-16 00:37:25 -0400
commit4f717a808a85bf212fc550527e8fc72cbcaeb220 (patch)
tree26b2b8222cbe462603d817c77b5f9a993dff6ee8 /src
parent5b8a8d2ee0d96a2f279b2829bb1488c090f091e6 (diff)
downloadxas-4f717a808a85bf212fc550527e8fc72cbcaeb220.tar.gz
xas-4f717a808a85bf212fc550527e8fc72cbcaeb220.tar.bz2
xas-4f717a808a85bf212fc550527e8fc72cbcaeb220.zip
Use generic object calls in event_trigger()
Diffstat (limited to 'src')
-rw-r--r--src/seq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/seq.c b/src/seq.c
index 616431e..b74dc9a 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -527,12 +527,12 @@ static int event_trigger(xas_spatial_scene *scene, xas_seq_event *ev) {
break;
case XAS_SEQ_EVENT_SET_BANK_INDEX:
- xas_bank_player_set_entry(ev->object->ctx, ev->index);
+ xas_object_set_entry(ev->object->ctx, ev->index);
break;
case XAS_SEQ_EVENT_SET_PLAYER_FLAGS:
- xas_bank_player_set_flags(ev->object->ctx, ev->flags);
+ xas_object_set_flags(ev->object->ctx, ev->flags);
break;