Fix spurious error message in CL_Locs_FreeNode - ID: 2742143
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 9 Apr 2009 05:39:54 +0000 (05:39 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 9 Apr 2009 05:39:54 +0000 (05:39 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8883 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index 7b65168..768b200 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -1915,6 +1915,7 @@ void CL_Locs_FreeNode(cl_locnode_t *node)
                {
                        *pointer = node->next;
                        Mem_Free(node);
+                       return;
                }
        }
        Con_Printf("CL_Locs_FreeNode: no such node! (%p)\n", node);