Skip to content

Commit ef66b19

Browse files
committed
Do not assert SFX count as it's not fixed size
1 parent a563b65 commit ef66b19

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Source/effects.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ void LoadEffectsData()
147147
reader.readString("path", item.pszName);
148148
}
149149
sgSFX.shrink_to_fit();
150-
// We're not actually parsing the IDs yet, thus this sanity check here.
151-
assert(static_cast<size_t>(SfxID::LAST) + 1 == sgSFX.size());
152150
}
153151

154152
void PrivSoundInit(uint8_t bLoadMask)

0 commit comments

Comments
 (0)