/* hud_model */ ATTRIB(Bumblebee, hud_model, string, "models/vehicles/spiderbot_cockpit.dpm");
/* tags */ ATTRIB(Bumblebee, tag_head, string, "");
/* tags */ ATTRIB(Bumblebee, tag_hud, string, "");
-/* tags */ ATTRIB(Bumblebee, tag_hview, string, "tag_viewport");
+/* tags */ ATTRIB(Bumblebee, tag_view, string, "tag_viewport");
/* netname */ ATTRIB(Bumblebee, netname, string, "bumblebee");
/* fullname */ ATTRIB(Bumblebee, vehicle_name, string, _("Bumblebee"));
/* icon */ ATTRIB(Bumblebee, m_icon, string, "vehicle_bumble");
self.nextthink = time + 0.1;
}
-void spawnfunc_vehicle_bumblebee()
-{SELFPARAM();
+spawnfunc(vehicle_bumblebee)
+{
if(!autocvar_g_vehicle_bumblebee) { remove(self); return; }
if(!vehicle_initialize(VEH_BUMBLEBEE, false)) { remove(self); return; }
}
SELFPARAM();
entity oldself = self;
- CSQCModel_UnlinkEntity();
+ CSQCModel_UnlinkEntity(self);
// Hide beam
if(self.gun3.enemy || !wasfreed(self.gun3.enemy))