X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstandalone%2Fstandalone.cpp;fp=src%2Fstandalone%2Fstandalone.cpp;h=2ffe6bc862c85a72600cf5ce4512d4efbdecb323;hb=dc9e991ce52da5d89722e1b5f3862988afaa41cc;hp=ad6450d5b05bda8a42d419f5969e32c977256a05;hpb=f506afdcb23fed22f2c7f345b94cb411487f89c9;p=blank.git diff --git a/src/standalone/standalone.cpp b/src/standalone/standalone.cpp index ad6450d..2ffe6bc 100644 --- a/src/standalone/standalone.cpp +++ b/src/standalone/standalone.cpp @@ -164,7 +164,7 @@ void MasterState::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(); }