--- freedroidrpg-0.10.3/src/network.c.orig 2007-11-26 23:00:15 +0300 +++ freedroidrpg-0.10.3/src/network.c 2007-11-26 23:34:38 +0300 @@ -636,6 +636,8 @@ CopyMeToNetworkMe( int PlayerNum ) int i; int WriteIndex=0; + if (PlayerNum >= MAX_PLAYERS || PlayerNum < 0) + return; //-------------------- // At first we copy this particular player to position 0 within // the networking me.