Update of /cvsroot/opentnl/tnl/tnl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12661/tnl
Modified Files:
tnlNetConnection.h
Log Message:
Small bit of sanity enforcement now that we're doing pointer lookups based on the NetConnectionState enum.
Index: tnlNetConnection.h
===================================================================
RCS file: /cvsroot/opentnl/tnl/tnl/tnlNetConnection.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tnlNetConnection.h 20 Apr 2004 04:27:18 -0000 1.1
--- tnlNetConnection.h 21 Apr 2004 01:40:35 -0000 1.2
***************
*** 480,484 ****
/// Connection state flags for a NetConnection instance.
enum NetConnectionState {
! NotConnected, ///< Initial state of a NetConnection instance - not connected.
AwaitingChallengeResponse, ///< We've sent a challenge request, awaiting the response.
SendingPunchPackets, ///< The state of a pending arranged connection when both sides haven't heard from the other yet
--- 480,484 ----
/// Connection state flags for a NetConnection instance.
enum NetConnectionState {
! NotConnected=0, ///< Initial state of a NetConnection instance - not connected.
AwaitingChallengeResponse, ///< We've sent a challenge request, awaiting the response.
SendingPunchPackets, ///< The state of a pending arranged connection when both sides haven't heard from the other yet
|