From: Julio J. B. <ju...@us...> - 2005-10-21 13:19:36
|
Update of /cvsroot/bzflag/bzflag/src/bzflag In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6148/src/bzflag Modified Files: playing.cxx Log Message: Fix write ip when a player leaves, thanks to Karsten Behrmann Index: playing.cxx =================================================================== RCS file: /cvsroot/bzflag/bzflag/src/bzflag/playing.cxx,v retrieving revision 2.140 retrieving revision 2.141 diff -w -u -r2.140 -r2.141 --- playing.cxx 21 Oct 2005 04:04:43 -0000 2.140 +++ playing.cxx 21 Oct 2005 13:19:21 -0000 2.141 @@ -1364,6 +1364,7 @@ } else { msg += " from "; msg += addr.getDotNotation(); + p->setIpAddress(addr); addMessage(p, msg); if (BZDB.evalInt("showips") > 1) { printIpInfo (p, addr, "(leave)"); @@ -2828,7 +2829,7 @@ } } message += " from " + ip.getDotNotation(); - + tank->setIpAddress(ip); addMessage(tank, message); } |