X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_volumes.c;h=23b8299ccdcdfffe21ed3b1f81049212d242b150;hb=1a7f4a35e88698bdb45c90f646f1645589d5511c;hp=dac790e9baa0d99387186ab20a5b03fc2d20a218;hpb=f014a592925b224f846d8adfc6559539fae1a096;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_volumes.c b/world_volumes.c index dac790e..23b8299 100644 --- a/world_volumes.c +++ b/world_volumes.c @@ -23,6 +23,12 @@ static void world_volumes_update( world_instance *world, v3f pos ){ } else{ /* trigger on exit...... */ + ent_call basecall; + basecall.function = k_ent_function_trigger_leave; + basecall.id = mdl_entity_id( k_ent_volume, idx ); + basecall.data = NULL; + + entity_call( world, &basecall ); } } world_static.active_trigger_volume_count = j;