Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-01-11 16:51:21 +0000
committerStijn Buys <ingar@osirion.org>2009-01-11 16:51:21 +0000
commit01a803bec48b1377d2714bce819fb2544eeeb44b (patch)
tree915a70eb23ea4f15f0a1293b2bdf5e594a10578a /src/core/netconnection.cc
parent20e8e4c0fb1262a25c2491679da4587d264208a2 (diff)
initial loader frame
Diffstat (limited to 'src/core/netconnection.cc')
-rw-r--r--src/core/netconnection.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/netconnection.cc b/src/core/netconnection.cc
index 790b037..eb9ad53 100644
--- a/src/core/netconnection.cc
+++ b/src/core/netconnection.cc
@@ -94,8 +94,10 @@ void NetConnection::connect(std::string const &to_host, int to_port)
connection_state = Pending;
game()->localplayer()->set_dirty();
-
- con_print << "Connecting to " << inet_ntoa(*((struct in_addr *)serverhostent->h_addr)) << ":" << to_port << "..." << std::endl;
+ std::stringstream str;
+ str << "Connecting to " << inet_ntoa(*((struct in_addr *)serverhostent->h_addr)) << ":" << to_port << "...";
+ con_print << str.str() << std::endl;
+ application()->notify_loader(str.str());
}
void NetConnection::disconnect()