mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix out of range enum casts in deSerialize functions (#14090)
This commit is contained in:
@@ -3027,6 +3027,9 @@ void Game::handleClientEvent_HudChange(ClientEvent *event, CameraOrientation *ca
|
||||
CASE_SET(HUD_STAT_TEXT2, text2, sdata);
|
||||
|
||||
CASE_SET(HUD_STAT_STYLE, style, data);
|
||||
|
||||
case HudElementStat_END:
|
||||
break;
|
||||
}
|
||||
|
||||
#undef CASE_SET
|
||||
|
Reference in New Issue
Block a user