mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add z-index management to HUD
This commit is contained in:
committed by
rubenwardy
parent
f6de86ce4b
commit
cf7fda0083
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user