X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2Fui.cpp;h=be4ca9f2a18072ba29039fbc0daf9f6bd57e0daa;hb=9d9b14cc916df12e23173035049e42c0d21a683a;hp=bd529d555aab44fb972429029089815c4a480fa2;hpb=6143a02000b2b67317aee88b9992efe9bd6436a0;p=blank.git diff --git a/src/ui/ui.cpp b/src/ui/ui.cpp index bd529d5..be4ca9f 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();