From 68af5e71c2d4c82aba234fbfc6f9a14f476861bc Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 5 Mar 2016 18:04:35 +0100 Subject: [PATCH] Penis --- deps/protobuf | 2 +- src/Components/Modules/FastFiles.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/protobuf b/deps/protobuf index 78105897..e70f9256 160000 --- a/deps/protobuf +++ b/deps/protobuf @@ -1 +1 @@ -Subproject commit 78105897a8f01c7be9cf8502b6c58d47eb1ccdd7 +Subproject commit e70f9256af79af6092eae4ce22a61b1b6651f37d diff --git a/src/Components/Modules/FastFiles.cpp b/src/Components/Modules/FastFiles.cpp index d02cd66f..5468224f 100644 --- a/src/Components/Modules/FastFiles.cpp +++ b/src/Components/Modules/FastFiles.cpp @@ -185,7 +185,7 @@ namespace Components Renderer::OnFrame([] () { - if (!FastFiles::Current().size() || !Dvar::Var("ui_zoneDebug").Get()) return; + if (FastFiles::Current().empty() || !Dvar::Var("ui_zoneDebug").Get()) 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) };