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-03-23 18:12:56 +0000
committerStijn Buys <ingar@osirion.org>2008-03-23 18:12:56 +0000
commit22e136d88817b64ec904a7e7232a2cf9e80e74bd (patch)
treeea369bba78930ff55325412760d14102d326f85b /src/core/gameconnection.cc
parent8485d43feca5597c4b412c6912aadcd9586e3cde (diff)
improved network connection handling, keep alive and time out
Diffstat (limited to 'src/core/gameconnection.cc')
-rw-r--r--src/core/gameconnection.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/gameconnection.cc b/src/core/gameconnection.cc
index 634a6ec..923d9a3 100644
--- a/src/core/gameconnection.cc
+++ b/src/core/gameconnection.cc
@@ -124,6 +124,8 @@ void GameConnection::frame(float seconds)
}
if (localplayer()->dirty()) {
+ localplayer()->update_info();
+
std::ostringstream osstream;
osstream << "pif ";
localplayer()->serialize_client_update(osstream);