This commit is contained in:
momo5502 2016-03-05 18:04:35 +01:00
parent 3ab54b1b68
commit 68af5e71c2
2 changed files with 2 additions and 2 deletions

2
deps/protobuf vendored

@ -1 +1 @@
Subproject commit 78105897a8f01c7be9cf8502b6c58d47eb1ccdd7
Subproject commit e70f9256af79af6092eae4ce22a61b1b6651f37d

View File

@ -185,7 +185,7 @@ namespace Components
Renderer::OnFrame([] ()
{
if (!FastFiles::Current().size() || !Dvar::Var("ui_zoneDebug").Get<bool>()) return;
if (FastFiles::Current().empty() || !Dvar::Var("ui_zoneDebug").Get<bool>()) return;
Game::Font* font = Game::R_RegisterFont("fonts/consoleFont"); // Inlining that seems to skip xpos, no idea why xD
float color[4] = { 1.0f, 1.0f, 1.0f, (Game::CL_IsCgameInitialized() ? 0.3f : 1.0f) };