1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-04 16:35:03 -05:00

A little cleanup since previous commit

This commit is contained in:
Loic Blot 2016-10-09 16:31:43 +02:00
parent 70f104be07
commit 1b450861f0

View File

@ -659,10 +659,7 @@ void GenericCAO::initialize(const std::string &data)
if (player && strcmp(player->getName(), m_name.c_str()) == 0) {
m_is_local_player = true;
m_is_visible = false;
LocalPlayer* localplayer = player;
assert( localplayer != NULL );
localplayer->setCAO(this);
player->setCAO(this);
}
m_env->addPlayerName(m_name.c_str());
}