~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/network/network.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman
  • Date: 2010-07-01 08:14:02 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100701081402-98jmva0t3sqywxmi
Tags: 1.0.2-1
* [00c4efe] New upstream release 1.0.2.
* [c7b38fd] Break older openttd versions instead of Conflicting with
  them.
* [36bd61f] Bump standards version to 3.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: network.cpp 19624 2010-04-13 21:40:24Z rubidium $ */
 
1
/* $Id: network.cpp 19875 2010-05-21 16:03:29Z rubidium $ */
2
2
 
3
3
/*
4
4
 * This file is part of OpenTTD.
936
936
        NetworkClose();
937
937
}
938
938
 
939
 
/* Receives something from the network */
 
939
/**
 
940
 * Receives something from the network.
 
941
 * @return true if everthing went fine, false when the connection got closed.
 
942
 */
940
943
static bool NetworkReceive()
941
944
{
942
945
        NetworkClientSocket *cs;
991
994
                        }
992
995
                }
993
996
        }
994
 
        return true;
 
997
        return _networking;
995
998
}
996
999
 
997
1000
/* This sends all buffered commands (if possible) */