From 0ba6816622bf91f3b736c4b206042c7729c4a01a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 17 Dec 2019 11:43:13 +0100 Subject: [PATCH] - made FSoundChan::EntChannel a full int and reordered the structure for better packing. --- src/sound/s_soundinternal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sound/s_soundinternal.h b/src/sound/s_soundinternal.h index 183232c39..bbcd73370 100644 --- a/src/sound/s_soundinternal.h +++ b/src/sound/s_soundinternal.h @@ -169,10 +169,10 @@ struct FSoundChan : public FISoundChannel FSoundID SoundID; // Sound ID of playing sound. FSoundID OrgID; // Sound ID of sound used to start this channel. float Volume; + int EntChannel; // Actor's sound channel. int16_t Pitch; // Pitch variation. - uint8_t EntChannel; // Actor's sound channel. - int8_t Priority; int16_t NearLimit; + int8_t Priority; uint8_t SourceType; float LimitRange; union