]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_win.c
Tried to be a little smarter with the heartbeats, using a simple priority mecanism...
[xonotic/darkplaces.git] / net_win.c
index 725eef4f5f9347981141a6b9b1fbc63a05f865e3..4b43b5c9b1177e2bd18f5a30638aa8016f2e62a3 100644 (file)
--- a/net_win.c
+++ b/net_win.c
@@ -39,7 +39,8 @@ net_driver_t net_drivers[MAX_NET_DRIVERS] =
        Loop_CanSendMessage,
        Loop_CanSendUnreliableMessage,
        Loop_Close,
-       Loop_Shutdown
+       Loop_Shutdown,
+       Loop_Heartbeat
        }
        ,
        {
@@ -57,7 +58,8 @@ net_driver_t net_drivers[MAX_NET_DRIVERS] =
        Datagram_CanSendMessage,
        Datagram_CanSendUnreliableMessage,
        Datagram_Close,
-       Datagram_Shutdown
+       Datagram_Shutdown,
+       Datagram_Heartbeat
        }
 };