From 82c492f3d7cdc028562d8df5776e264e85f7bb34 Mon Sep 17 00:00:00 2001 From: Professor Hastig Date: Wed, 25 Oct 2023 08:07:35 +0200 Subject: [PATCH] widen the special field in FBoomArgs. This code still assumed that all special types fit into 8 bits which is no longer the case. --- src/gamedata/xlat/xlat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamedata/xlat/xlat.h b/src/gamedata/xlat/xlat.h index f488704ff1..516104af12 100644 --- a/src/gamedata/xlat/xlat.h +++ b/src/gamedata/xlat/xlat.h @@ -82,7 +82,7 @@ struct FBoomTranslator { uint16_t FirstLinetype = 0; uint16_t LastLinetype = 0; - uint8_t NewSpecial = 0; + uint16_t NewSpecial = 0; TArray Args; } ;