- Blood: make sure that tracking condition data is always properly initialized.

This commit is contained in:
Christoph Oelckers 2023-01-28 10:11:34 +01:00
parent acac74715f
commit 3b8956c728

View file

@ -239,12 +239,12 @@ struct TRPLAYERCTRL { // this one for controlling the player using triggers (mov
}; };
struct OBJECTS_TO_TRACK { struct OBJECTS_TO_TRACK {
uint8_t cmd; uint8_t cmd = 0;
EventObject obj; EventObject obj = EventObject(nullptr);
}; };
struct TRCONDITION { struct TRCONDITION {
DBloodActor* actor; DBloodActor* actor = nullptr;
TArray<OBJECTS_TO_TRACK> objects; TArray<OBJECTS_TO_TRACK> objects;
}; };