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-05-12 13:08:45 +0000
committerStijn Buys <ingar@osirion.org>2008-05-12 13:08:45 +0000
commite4f2faa8d5895ba30207c09c7886afb21a697d5f (patch)
tree90751a70d480781c25274e70c4804f37acf72ee2 /src/core/gameconnection.cc
parent24c695e83947d3457dbd1f5d696fa09b4ef953c0 (diff)
aux::plural, aux::article
Diffstat (limited to 'src/core/gameconnection.cc')
-rw-r--r--src/core/gameconnection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/gameconnection.cc b/src/core/gameconnection.cc
index c86a0ae..e77a3d8 100644
--- a/src/core/gameconnection.cc
+++ b/src/core/gameconnection.cc
@@ -104,7 +104,7 @@ void GameConnection::frame(float seconds)
}
}
- if (localcontrol() && localcontrol()->dirty()) {
+ if ((connection_network->state() == NetConnection::Connected) && localcontrol() && localcontrol()->dirty()) {
std::ostringstream netmsg;
netmsg << "cup " << localcontrol()->id() << " ";
localcontrol()->serialize_client_update(netmsg);