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();
}
}
-void MasterState::Handle(const SDL_Event &event) {
+void MasterState::Handle(const SDL_Event &) {
}
env.state.Push(state.get());
}
-void MasterState::On(const Packet::Part &pack) {
+void MasterState::On(const Packet::Part &) {
Quit();
if (state) {
// kicked