X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;h=b79c435473e946de841c7353cb2fb37870923c87;hb=e5caf98d970fe569fd8484dd0d6ea738f8251ae4;hp=77b7fa63a3ed5f774b5694a4fd53a8e435886738;hpb=dbaf7ce2273e86297d04662452ad4c2e89d9b9e4;p=blank.git diff --git a/src/client/client.cpp b/src/client/client.cpp index 77b7fa6..b79c435 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -158,7 +158,7 @@ void InteractiveState::Update(int dt) { if (input.BlockFocus()) { hud.FocusBlock(input.BlockFocus().GetChunk(), input.BlockFocus().block); } else if (input.EntityFocus()) { - hud.FocusEntity(*input.EntityFocus().entity); + hud.FocusEntity(input.EntityFocus().GetEntity()); } else { hud.FocusNone(); }