diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index 279215fa3..45ec9285d 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -168,7 +168,7 @@ void CScoreboard::RenderScoreboard(float x, float y, float w, int Team, const ch // render headlines TextRender()->Text(0, x+10, y, 24.0f, Localize("Score"), -1); - if(m_IsGameTypeRace) + if(m_IsGameTypeRace && g_Config.m_ClDDRaceScoreBoard) { TextRender()->Text(0, x+125+Offset, y, 24.0f, Localize("Name"), -1); TextRender()->Text(0, x+w-75, y, 24.0f, Localize("Ping"), -1); @@ -215,7 +215,7 @@ void CScoreboard::RenderScoreboard(float x, float y, float w, int Team, const ch float FontSizeResize = FontSize; float Width; - if(m_IsGameTypeRace) + if(m_IsGameTypeRace && g_Config.m_ClDDRaceScoreBoard) { const float ScoreWidth = 150.0f; const float PingWidth = 60.0f; diff --git a/src/game/server/gamecontroller.cpp b/src/game/server/gamecontroller.cpp index d53bf8232..c715af851 100644 --- a/src/game/server/gamecontroller.cpp +++ b/src/game/server/gamecontroller.cpp @@ -73,10 +73,11 @@ void IGameController::EvaluateSpawnType(CSpawnEval *pEval, int T) // get spawn point for(int i = 0; i < m_aNumSpawnPoints[T]; i++) { +/* // check if the position is occupado if(GameServer()->m_World.FindEntities(m_aaSpawnPoints[T][i], 64, 0, 1, CGameWorld::ENTTYPE_CHARACTER)) continue; - +*/ vec2 P = m_aaSpawnPoints[T][i]; float S = EvaluateSpawnPos(pEval, P); if(!pEval->m_Got || pEval->m_Score > S)