diff --git a/source/simulation2/components/CCmpSelectable.cpp b/source/simulation2/components/CCmpSelectable.cpp
index b482be3..1ace0ff 100644
a
|
b
|
void CCmpSelectable::HandleMessage(const CMessage& msg, bool UNUSED(global))
|
345 | 345 | break; |
346 | 346 | } |
347 | 347 | case MT_PositionChanged: |
| 348 | { |
| 349 | const CMessagePositionChanged& msgData = static_cast<const CMessagePositionChanged&> (msg); |
| 350 | |
| 351 | if (msgData.entity == this->GetEntityId()) |
| 352 | m_Color.a = m_AlphaMin = msgData.inWorld && m_AlwaysVisible? MIN_ALPHA_ALWAYS_VISIBLE : MIN_ALPHA_UNSELECTED; |
| 353 | } |
348 | 354 | case MT_TerrainChanged: |
349 | 355 | case MT_WaterChanged: |
350 | 356 | { |