aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran Gultnieks <ciaran@ciarang.com>2011-05-19 12:18:42 +0100
committerCiaran Gultnieks <ciaran@ciarang.com>2011-05-19 12:18:42 +0100
commitb5ceaf445a68b9cda47fbd4246f074aa0a1d3966 (patch)
treee2c1c1fd6c7a5446793eb7fe9ef35ddc1f18db33
parente09fec3373abcf836635dc33a95e9b9975058eb9 (diff)
downloadminetest-b5ceaf445a68b9cda47fbd4246f074aa0a1d3966.tar.gz
minetest-b5ceaf445a68b9cda47fbd4246f074aa0a1d3966.tar.bz2
minetest-b5ceaf445a68b9cda47fbd4246f074aa0a1d3966.zip
Don't say 'Creating server and client' if the server is remote, so not being created
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index d90262060..d6b1117c1 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -672,7 +672,6 @@ void the_game(
guienv->drawAll();
driver->endScene();
- std::cout<<DTIME<<"Creating server and client"<<std::endl;
/*
Create server.
@@ -680,6 +679,7 @@ void the_game(
*/
SharedPtr<Server> server;
if(address == ""){
+ std::cout<<DTIME<<"Creating server"<<std::endl;
server = new Server(map_dir);
server->start(port);
}
@@ -688,6 +688,7 @@ void the_game(
Create client
*/
+ std::cout<<DTIME<<"Creating client"<<std::endl;
Client client(device, playername.c_str(), draw_control);
Address connect_address(0,0,0,0, port);