From f19d341519542541b5dc75d63ba2a3dc762c3976 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 10 Aug 2025 22:52:56 +0200 Subject: [PATCH] Do not assert SFX count as it's not fixed size --- Source/effects.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/effects.cpp b/Source/effects.cpp index d921cd429..f04b72665 100644 --- a/Source/effects.cpp +++ b/Source/effects.cpp @@ -147,8 +147,6 @@ void LoadEffectsData() reader.readString("path", item.pszName); } sgSFX.shrink_to_fit(); - // We're not actually parsing the IDs yet, thus this sanity check here. - assert(static_cast(SfxID::LAST) + 1 == sgSFX.size()); } void PrivSoundInit(uint8_t bLoadMask)