H-uru/dirtsand — pull request #80 by Hoikas (2013-04-02 22:54:06+00:00)
Title: Fix Clone Issues

This fixes a few problems with non-avatar clones.

- To (potentially) fix an observed segfault, we now ref all non-avatar clones when inserting them into the `unordered_map`.
- Removed the clone mutex because the clone map is only ever accessed by the game host thread.
- Clear the clone map in `dm_game_shutdown` just in case there is an oddball race condition.