diff options
Diffstat (limited to 'src/core/netconnection.cc')
-rw-r--r-- | src/core/netconnection.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/netconnection.cc b/src/core/netconnection.cc index 9268447..ae1118f 100644 --- a/src/core/netconnection.cc +++ b/src/core/netconnection.cc @@ -557,7 +557,7 @@ void NetConnection::parse_incoming_message(const std::string & message) if (connection()->localplayer()->zonechange() && oldzone && (oldzone != connection()->localplayer()->zone())) { // notify the applciation to clear none-core zone assets (textures etc) - application()->notify_zoneclear(oldzone); + application()->notify_zonechange(); // delete all entities in the old zone for (Entity::Registry::iterator it=Entity::registry().begin(); it != Entity::registry().end(); ) { @@ -573,7 +573,8 @@ void NetConnection::parse_incoming_message(const std::string & message) oldzone->content().clear(); } } else { - // FIXME find player + // find player + // FIXME player might be localplayer() Player *player = 0; for (GameInterface::Players::iterator it = game()->players().begin(); it != game()->players().end() && !player; it++) { if( (*it)->id() == player_id) { |