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:
parent
f6de86ce4b
commit
cf7fda0083
10 changed files with 57 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue