1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Add z-index management to HUD

This commit is contained in:
Pierre-Yves Rollo 2019-11-04 09:30:02 +01:00 committed by rubenwardy
parent f6de86ce4b
commit cf7fda0083
10 changed files with 57 additions and 7 deletions

View file

@ -1654,7 +1654,8 @@ void Server::SendHUDAdd(session_t peer_id, u32 id, HudElement *form)
pkt << id << (u8) form->type << form->pos << form->name << form->scale
<< form->text << form->number << form->item << form->dir
<< form->align << form->offset << form->world_pos << form->size;
<< form->align << form->offset << form->world_pos << form->size
<< form->z_index;
Send(&pkt);
}