Changeset 7776 in orxonox.OLD for branches/network/src/lib/network/connection_monitor.h
- Timestamp:
- May 23, 2006, 3:29:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/connection_monitor.h
r7772 r7776 28 28 void calculatePing(); 29 29 30 bool hasTimedOut(){ return ( lastPacketTick + SECS_TO_TIMEOUT*1000 < SDL_GetTicks() ) && nIncomingPackets > 0; } 30 //TODO 31 bool hasTimedOut(){ return false; return ( lastPacketTick + SECS_TO_TIMEOUT*1000 < SDL_GetTicks() ) && nIncomingPackets > 0; } 31 32 32 33 int getMaxPacketSize();
Note: See TracChangeset
for help on using the changeset viewer.