X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fui.cpp;h=c71b7c105a0f0c357a359e5cd8ac34779856d166;hb=c04ea5a6f67d446ea29aa2e88dc4c666956d7732;hp=410072da681ed292042949fb88247bd409160068;hpb=bc1cefd505bf1f34639b8839cb337b08310ceb8e;p=blank.git diff --git a/src/ui/ui.cpp b/src/ui/ui.cpp index 410072d..c71b7c1 100644 --- a/src/ui/ui.cpp +++ b/src/ui/ui.cpp @@ -356,7 +356,7 @@ void Interface::Update(int dt) { void Interface::CheckAim() { float dist; - if (world.Intersection(aim, glm::mat4(1.0f), &aim_chunk, &aim_block, &dist, &aim_normal)) { + if (world.Intersection(aim, glm::mat4(1.0f), aim_chunk, aim_block, dist, aim_normal)) { outline.Clear(); aim_chunk->Type(aim_chunk->BlockAt(aim_block)).FillOutlineModel(outline); outline_transform = glm::scale(glm::vec3(1.0002f));