From 02b0f11c2942e5972d659f5d378654bc7a7ba1b7 Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 23 Jul 2021 01:12:56 +0200 Subject: [PATCH] Fix iw4 FxGlassPiecePlace having wrong size due to accidentally using union instead of struct --- src/Common/Game/IW4/IW4_Assets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/Game/IW4/IW4_Assets.h b/src/Common/Game/IW4/IW4_Assets.h index a6e787e2..9e09a07e 100644 --- a/src/Common/Game/IW4/IW4_Assets.h +++ b/src/Common/Game/IW4/IW4_Assets.h @@ -2402,7 +2402,7 @@ namespace IW4 union FxGlassPiecePlace { - union + struct { FxSpatialFrame frame; float radius;