aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index fea4ce734..669266cf2 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -3224,7 +3224,6 @@ Player *Server::emergePlayer(const char *name, const char *password,
<<player->getName()<<"\""<<std::endl;
v2s16 nodepos;
- f32 groundheight = 0;
#if 1
player->setPosition(intToFloat(v3s16(
0,
@@ -3233,6 +3232,7 @@ Player *Server::emergePlayer(const char *name, const char *password,
)));
#endif
#if 0
+ f32 groundheight = 0;
#if 0
// Try to find a good place a few times
for(s32 i=0; i<500; i++)