mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
In the particle effect code there is a small hack required for getting some constant pointers in a vector. However, there is another mechanism where sources are not added to the sources vector if the sources are currently being iterated through. That is necessary to avoid accidentally invalidating the iterators. The issue here was that the vector resizing hack was not applied to the correct vector when we were currently iterating. This fixes that. This fixes #2928.