mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
one line of cleaning server code
This commit is contained in:
parent
c957858bbb
commit
39faa654bf
1 changed files with 1 additions and 1 deletions
|
@ -3224,7 +3224,6 @@ Player *Server::emergePlayer(const char *name, const char *password,
|
||||||
<<player->getName()<<"\""<<std::endl;
|
<<player->getName()<<"\""<<std::endl;
|
||||||
|
|
||||||
v2s16 nodepos;
|
v2s16 nodepos;
|
||||||
f32 groundheight = 0;
|
|
||||||
#if 1
|
#if 1
|
||||||
player->setPosition(intToFloat(v3s16(
|
player->setPosition(intToFloat(v3s16(
|
||||||
0,
|
0,
|
||||||
|
@ -3233,6 +3232,7 @@ Player *Server::emergePlayer(const char *name, const char *password,
|
||||||
)));
|
)));
|
||||||
#endif
|
#endif
|
||||||
#if 0
|
#if 0
|
||||||
|
f32 groundheight = 0;
|
||||||
#if 0
|
#if 0
|
||||||
// Try to find a good place a few times
|
// Try to find a good place a few times
|
||||||
for(s32 i=0; i<500; i++)
|
for(s32 i=0; i<500; i++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue