Fix reference for ENGINE_EVENT_UNKNOWN sizeof

This commit is contained in:
Fierelier 2023-08-10 03:20:47 +02:00
parent 4bc128788f
commit f430928788

View File

@ -31,7 +31,7 @@ struct ENGINE_EVENT * engine_event_get() {
} }
unknown: unknown:
struct ENGINE_EVENT_UNKNOWN * data = engine_memory_alloc(NULL,sizeof(struct ENGINE_EVENT_INPUT_KB)); struct ENGINE_EVENT_UNKNOWN * data = engine_memory_alloc(NULL,sizeof(struct ENGINE_EVENT_UNKNOWN));
event->type = ENGINE_EVENT_TYPE_UNKNOWN; event->type = ENGINE_EVENT_TYPE_UNKNOWN;
event->data = data; event->data = data;
return event; return event;