diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-12 13:08:45 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-12 13:08:45 +0000 |
commit | e4f2faa8d5895ba30207c09c7886afb21a697d5f (patch) | |
tree | 90751a70d480781c25274e70c4804f37acf72ee2 /src/core/gameconnection.cc | |
parent | 24c695e83947d3457dbd1f5d696fa09b4ef953c0 (diff) |
aux::plural, aux::article
Diffstat (limited to 'src/core/gameconnection.cc')
-rw-r--r-- | src/core/gameconnection.cc | 2 |
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); |