simtr/The-Powder-Toy — pull request #217 by boxmein (2014-06-12 21:30:37+00:00)
Title: luatpt_getPartIndex no longer returns a valid particle index when next_getPartIndex is false.

getPartIndex now returns an invalid particle index when it fails.
Fixes #216