Forgot to add a couple of return statements to a switch block.
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 12 Feb 2004 16:50:06 +0000 (16:50 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 12 Feb 2004 16:50:06 +0000 (16:50 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3895 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index e7bcfa8..5a8b49f 100644 (file)
@@ -3162,10 +3162,13 @@ void VM_M_gethostcachevalue( void )
                return;
        case 2:
                PRVM_G_FLOAT ( OFS_RETURN ) = masterreplycount;
+               return;
        case 3:
                PRVM_G_FLOAT ( OFS_RETURN ) = serverquerycount;
+               return;
        case 4:
                PRVM_G_FLOAT ( OFS_RETURN ) = serverreplycount;
+               return;
        }
 }