#include "ent_skateshop.c"
#include "ent_challenge.c"
+#include "ent_unlock.c"
+#include "ent_relay.c"
typedef void (*fn_entity_call_handler)( world_instance *, ent_call *);
[k_ent_audio] = ent_audio_call,
[k_ent_skateshop] = ent_skateshop_call,
[k_ent_challenge] = ent_challenge_call,
- [k_ent_ccmd] = ent_ccmd_call
+ [k_ent_ccmd] = ent_ccmd_call,
+ [k_ent_gate] = ent_gate_call,
+ [k_ent_relay] = ent_relay_call,
+ [k_ent_unlock] = ent_unlock_call
};
- if( type > vg_list_size(table) ){
+ if( type >= vg_list_size(table) ){
vg_error( "call to entity type: %u is out of range\n", type );
return;
}