diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 394273a04..8a69baad4 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -8314,6 +8314,16 @@ void setup_rancid_net(char *fn) { char tmp[32]; + if (!Bstrlen(rancid_ip_strings[MAXPLAYERS-1])||!Bstrlen(rancid_ip_strings[1])) + { + if (!Bstrlen(rancid_ip_strings[MAXPLAYERS-1])) + initprintf("rmnet: Interface not defined\n"); + if (!Bstrlen(rancid_ip_strings[1])) + initprintf("rmnet: No peers configured\n"); + gameexit("Malformed network configuration file!"); + return; + } + if (keepaddr == 0) { for (i=0;i<rancid_players;i++)