File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Client/mods/deathmatch/logic
Server/mods/deathmatch/logic Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ void CClientMarker::SetSize(float fSize)
318318 {
319319 CClientColTube* pShape = static_cast <CClientColTube*>(m_pCollision);
320320 pShape->SetRadius (fSize );
321- pShape->SetHeight (fSize );
321+ pShape->SetHeight (fSize <= 1.5 ? fSize + 1 : fSize );
322322 break ;
323323 }
324324 }
Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ void CMarker::UpdateCollisionObject(unsigned char ucOldType)
428428 {
429429 CColTube* pShape = static_cast <CColTube*>(m_pCollision);
430430 pShape->SetRadius (m_fSize);
431- pShape->SetHeight (m_fSize);
431+ pShape->SetHeight (m_fSize <= 1.5 ? m_fSize + 1 : m_fSize );
432432 }
433433 else
434434 {
You can’t perform that action at this time.
0 commit comments