mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
one line of cleaning server code
This commit is contained in:
parent
c957858bbb
commit
39faa654bf
@ -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…
Reference in New Issue
Block a user