projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c957858
)
one line of cleaning server code
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 1 Feb 2011 15:08:28 +0000
(17:08 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 1 Feb 2011 15:08:28 +0000
(17:08 +0200)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index fea4ce734ea2bf3e299acbc540d515ab4d975583..669266cf2ff079a1d3376fd2a2d42d922d452715 100644
(file)
--- 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++)