X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2Fui.cpp;h=5f60d4401d056e116422b72941965217cd26edce;hb=242b87a5fb412f9006e4b7debc1408cf7ac83000;hp=bd529d555aab44fb972429029089815c4a480fa2;hpb=6a3227ca747d0598711f7354cd39897184e9fe6a;p=blank.git diff --git a/src/ui/ui.cpp b/src/ui/ui.cpp index bd529d5..5f60d44 100644 --- a/src/ui/ui.cpp +++ b/src/ui/ui.cpp @@ -98,7 +98,6 @@ void PlayerController::UpdatePlayer() noexcept { if (aim_world && aim_entity) { // got both, pick the closest one if (aim_world.depth < aim_entity.depth) { - // FIXME: somehow this can get stuck on an entity? aim_entity = EntityCollision(); } else { aim_world = WorldCollision(); @@ -296,7 +295,7 @@ HUD::HUD(Environment &env, Config &config, const Player &player) buf.indices = std::vector({ 0, 1, 2, 3 }); - buf.colors.resize(4, { 10.0f, 10.0f, 10.0f, 1.0f }); + buf.colors.resize(4, { 255, 255, 255, 255 }); crosshair.Update(buf); }