Browse Source

Do not assert SFX count as it's not fixed size

pull/8101/head
Anders Jenbo 7 months ago
parent
commit
f19d341519
  1. 2
      Source/effects.cpp

2
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<size_t>(SfxID::LAST) + 1 == sgSFX.size());
}
void PrivSoundInit(uint8_t bLoadMask)

Loading…
Cancel
Save