VRushLP / RigorMortisGame

A game made for TCSS491 Computational Worlds, Winter 2016
2 stars 0 forks source link

Hotfix #69

Closed tjsg1992 closed 8 years ago

tjsg1992 commented 8 years ago

Solves a game-locking bug that occurred after killing an enemy. Problem was due to the enemy removing themselves from the agents list and then another agent referencing them afterwards. Not sure why this only became a problem only now. Solved by re-implementing removeFromWorld, where an entity can be flagged for deletion upon the next update pass.