]> git.localhorst.tv Git - blank.git/commitdiff
removed outdated annotation
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 7 Dec 2015 14:09:59 +0000 (15:09 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 7 Dec 2015 14:09:59 +0000 (15:09 +0100)
that problem was fixed by removing NaNs from
box/box intersection test

I hope

src/ui/ui.cpp

index bd529d555aab44fb972429029089815c4a480fa2..be4ca9f2a18072ba29039fbc0daf9f6bd57e0daa 100644 (file)
@@ -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();