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:
e09fec3
)
Don't say 'Creating server and client' if the server is remote, so not being created
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 19 May 2011 11:18:42 +0000
(12:18 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 19 May 2011 11:18:42 +0000
(12:18 +0100)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index d902620605f86caf4cf09cfa5f4bec82f804f310..d6b1117c145ec4877cdbee83c9d85f3f6dafb7de 100644
(file)
--- 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);