Assert that the partial is part of the particle system before creating an index. This is a hint to developers that the cast is safe and using a pointer offset isn't going to cause problems. Issue raised by !111193. Co-authored-by: Loren Osborn <linux_dr>