void CItems::OnRender() { if(Client()->State() != IClient::STATE_ONLINE && Client()->State() != IClient::STATE_DEMOPLAYBACK) return; Graphics()->TextureSet(GameClient()->m_GameSkin.m_SpriteFlagRed); Graphics()->QuadsSetRotation(0); Graphics()->SetColor(1.f, 1.f, 1.f, 1.f); Graphics()->QuadsSetRotation(0.0f); vec2 Pos = m_pClient->m_aClients[m_pClient->m_aLocalIds[g_Config.m_ClDummy]].m_RenderPos; float Size = 42.0f; Graphics()->RenderQuadContainerAsSprite(m_ItemsQuadContainerIndex, m_RedFlagOffset, Pos.x, Pos.y - Size * 0.75f);