From 0709b4ba6754738aeea38320f5382a022b9cb2a9 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 2 May 2006 03:36:19 +0000 Subject: [PATCH] Yeah, it might help to do this crap in the right order, heh. git-svn-id: https://svn.eduke32.com/eduke32@138 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 6e23e3b31..6903be52a 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -7611,12 +7611,8 @@ void checkcommandline(int argc,char **argv) { char tmp[16]; - qsort((char *)rancid_ip_strings, rancid_players, sizeof(rancid_ip_strings[0]), (int(*)(const void*,const void*))stringsort); CommandNet = 0; - netparamcount = rancid_players; - if(rancid_local_port_string[0] == '-') - netparamcount++; - netparam = (char **)calloc(netparamcount, sizeof(char **)); + for(j=0;j