From 3b8956c728a52542a46a0445356ea11dd07abd84 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 28 Jan 2023 10:11:34 +0100 Subject: [PATCH] - Blood: make sure that tracking condition data is always properly initialized. --- source/games/blood/src/nnexts.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/games/blood/src/nnexts.h b/source/games/blood/src/nnexts.h index 18bd1b578..ae551a526 100644 --- a/source/games/blood/src/nnexts.h +++ b/source/games/blood/src/nnexts.h @@ -239,12 +239,12 @@ struct TRPLAYERCTRL { // this one for controlling the player using triggers (mov }; struct OBJECTS_TO_TRACK { - uint8_t cmd; - EventObject obj; + uint8_t cmd = 0; + EventObject obj = EventObject(nullptr); }; struct TRCONDITION { - DBloodActor* actor; + DBloodActor* actor = nullptr; TArray objects; };