highfidelity/hifi — pull request #3862 by AndrewMeadows (2014-11-25 04:45:34+00:00)
Title: more correct EntetyItem liste maintenance

I noticed today that in a previous commit I had accidentally created a minor bug in how the "Moving" and "Mortal" entity lists are maintained in the EntityTree class. In particular I allowed the lists to be modified while they were being iterated, thereby causing the iterator to sometimes skip an element of the list. This doesn't cause a crash, and would rarely produce a noticeable problem, but it still needs to be fixed.