diff --git a/lib/bsp_loader/src/bsp.rs b/lib/bsp_loader/src/bsp.rs index c8d79df..4eda508 100644 --- a/lib/bsp_loader/src/bsp.rs +++ b/lib/bsp_loader/src/bsp.rs @@ -235,8 +235,8 @@ pub fn convert<'a>( let mut teleport_destinations=HashMap::new(); const WHITE:vbsp::Color=vbsp::Color{r:255,g:255,b:255}; - const ENTITY_ATTRIBUTE:gameplay_attributes::CollisionAttributesId=ATTRIBUTE_CONTACT_DEFAULT; - const ENTITY_TRIGGER_ATTRIBUTE:gameplay_attributes::CollisionAttributesId=ATTRIBUTE_INTERSECT_DEFAULT; + const ENTITY_ATTRIBUTE:attr::CollisionAttributesId=ATTRIBUTE_DECORATION; + const ENTITY_TRIGGER_ATTRIBUTE:attr::CollisionAttributesId=ATTRIBUTE_INTERSECT_DEFAULT; for raw_ent in &bsp.entities{ let debug_info=match model::EntityInfo::new(raw_ent.properties()){ Ok(entity_info)=>model::DebugInfo::Entity(entity_info),