Save and remove player by pointer
authorLoic Blot <loic.blot@unix-experience.fr>
Wed, 23 Sep 2015 16:53:54 +0000 (18:53 +0200)
committerest31 <MTest31@outlook.com>
Wed, 23 Sep 2015 17:37:05 +0000 (19:37 +0200)
commit596484da4fcd301e597a851a9a54b6dc276a286a
tree500b4b1c05e38357d583c33ac3910d94ce35bfec
parenta56aedb4eae7d21864ab8dc56a82f644c4639f7a
Save and remove player by pointer

Why doing things simple ? Use pointer instead of strings to save players and remove them.
Saving players by name does a lookup to find pointer we already have ! Idem with removePlayer
Also remove unused removePlayer(peer_id), it's never called
src/content_sao.cpp
src/environment.cpp
src/environment.h