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