Ticket #1365: hero_selection_ring_gone_on_garrison.patch
File hero_selection_ring_gone_on_garrison.patch, 627 bytes (added by , 12 years ago) |
---|
-
source/simulation2/components/CCmpSelectable.cpp
521 521 void CCmpSelectable::RenderSubmit(SceneCollector& collector) 522 522 { 523 523 // don't render selection overlay if it's not gonna be visible 524 if (m_Color.a > 0) 524 entity_id_t entityId = GetEntityId(); 525 CmpPtr<ICmpPosition> cmpPosition(GetSimContext(), entityId); 526 if (m_Color.a > 0 && cmpPosition && cmpPosition->IsInWorld()) 525 527 { 526 528 if (!m_Cached) 527 529 {