]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_client.qc
Hide preconnect hook behind an #ifdef
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index 5187ed5133aafba949f009b9c856753cb4f6db4a..5b4d7b29b8ca8ec4c43d48239d871cfa0e955c47 100644 (file)
@@ -990,6 +990,7 @@ float PlayerInIDList(entity p, string idlist)
        return 0;
 }
 
+#ifdef DP_EXT_PRECONNECT
 /*
 =============
 ClientPreConnect
@@ -1008,6 +1009,7 @@ void ClientPreConnect (void)
                ));
        }
 }
+#endif
 
 /*
 =============