ui2/fade: fix fading
Some checks are pending
Run code linters / Run code linters (push) Waiting to run

This commit is contained in:
Marcin Kurczewski 2025-04-16 09:17:59 +02:00
parent db01c333df
commit d742a12188
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A

View file

@ -1,5 +1,6 @@
#include "game/ui2/elements/fade.h"
#include "game/output.h"
#include "game/ui2/helpers.h"
typedef struct {
@ -20,6 +21,7 @@ static void M_Draw(const UI2_NODE *const node)
const M_DATA *const data = node->data;
if (data->is_on_top) {
UI2_DrawWrapper(node);
Output_DrawPolyList(); // flush geometry
Fader_Draw(data->fader);
} else {
Fader_Draw(data->fader);