forked from Mirrorlandia_minetest/minetest
A little cleanup since previous commit
This commit is contained in:
parent
70f104be07
commit
1b450861f0
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user