shithub: choc

Download patch

ref: d3c8d42bc4edf892557875a83c3f5ae65880e074
parent: 3c57887b0a5352da1c7c4fe7f149c94bb6d70c31
author: Simon Howard <[email protected]>
date: Sat Dec 4 15:56:04 EST 2010

Rename search command line options: -search to search the Internet,
-localsearch to search local LAN.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2193

--- a/src/d_main.c
+++ b/src/d_main.c
@@ -850,7 +850,7 @@
     // servers.
     //
 
-    if (M_CheckParm("-masterquery"))
+    if (M_CheckParm("-search"))
     {
         printf("\nSearching for servers on Internet ...\n");
         p = NET_MasterQuery(NET_QueryPrintCallback, NULL);
@@ -880,7 +880,7 @@
     // Search the local LAN for running servers.
     //
 
-    if (M_CheckParm("-search"))
+    if (M_CheckParm("-localsearch"))
     {
         printf("\nSearching for servers on local LAN ...\n");
         p = NET_LANQuery(NET_QueryPrintCallback, NULL);