3 #include "player_glide.h"
5 static void ent_glider_call( world_instance
*world
, ent_call
*call
){
6 u32 index
= mdl_entity_id_id( call
->id
);
7 ent_glider
*glider
= mdl_arritm( &world
->ent_glider
, index
);
9 if( call
->function
== 0 ){
12 else if( call
->function
== 1 ){
13 if( glider
->flags
& 0x1 ){
14 player_glide_equip_glider();
19 vg_error( "Unhandled function id: %i\n", call
->function
);