aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-01 17:08:28 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-01 17:08:28 +0200
commit39faa654bfe654acd2622b6df38d81d2f4cfb35a (patch)
tree7eb9f5bd8def9b47435c312cb59e47daf9c59fca /src
parentc957858bbbe405aa0655f5e34bd42b2790b2a34f (diff)
downloadminetest-39faa654bfe654acd2622b6df38d81d2f4cfb35a.tar.gz
minetest-39faa654bfe654acd2622b6df38d81d2f4cfb35a.tar.bz2
minetest-39faa654bfe654acd2622b6df38d81d2f4cfb35a.zip
one line of cleaning server code
Diffstat (limited to 'src')
-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++)