fix gamedir error when connecting to quakeworld servers
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Feb 2007 02:12:16 +0000 (02:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Feb 2007 02:12:16 +0000 (02:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6823 d7cf8633-e32d-0410-b094-e92efae38249

fs.c

diff --git a/fs.c b/fs.c
index 8f284b8..9219f4e 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1171,13 +1171,6 @@ qboolean FS_ChangeGameDirs(int numgamedirs, char gamedirs[][MAX_QPATH], qboolean
 {
        int i;
 
-       if (cls.state != ca_disconnected || sv.active)
-       {
-               if (complain)
-                       Con_Printf("Can not change gamedir while client is connected or server is running!\n");
-               return false;
-       }
-
        if (fs_numgamedirs == numgamedirs)
        {
                for (i = 0;i < numgamedirs;i++)