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>2008-02-17 18:59:52 +0000
committerStijn Buys <ingar@osirion.org>2008-02-17 18:59:52 +0000
commit982562fa19bb87a3dab352e562f386f61c171b7b (patch)
treeaeade8d5b7d3c68f5c222af1d8ecc6a734e1b43f /src/core/netconnection.cc
parentd198b7b8d9ff713d891f35ab173d1f428f610e7d (diff)
major rewrite of Cvar, Func and Entity
Diffstat (limited to 'src/core/netconnection.cc')
-rw-r--r--src/core/netconnection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/netconnection.cc b/src/core/netconnection.cc
index 85c0534..60b4ff8 100644
--- a/src/core/netconnection.cc
+++ b/src/core/netconnection.cc
@@ -31,7 +31,7 @@ void NetConnection::connect(std::string const &to_host, int to_port)
}
std::ostringstream osstream;
- osstream << "name " << localplayer.name << std::endl;
+ osstream << "name " << Player::local.name() << std::endl;
send(osstream.str());
}