[Opentnl-cvs] tnl/zap gameType.cpp,1.11,1.12
Brought to you by:
mark_frohnmayer,
s_alanet
From: Ben G. <s_a...@us...> - 2004-04-25 06:05:23
|
Update of /cvsroot/opentnl/tnl/zap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6759/zap Modified Files: gameType.cpp Log Message: Fixed null pointer crash. (ALWAYS CHECK SafePtrs!) Index: gameType.cpp =================================================================== RCS file: /cvsroot/opentnl/tnl/zap/gameType.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** gameType.cpp 23 Apr 2004 07:02:26 -0000 1.11 --- gameType.cpp 25 Apr 2004 05:57:55 -0000 1.12 *************** *** 310,314 **** { if(global || mClientList[i].teamId == teamId) ! mClientList[i].clientConnection->postNetEvent(theEvent); } } --- 310,315 ---- { if(global || mClientList[i].teamId == teamId) ! if(mClientList[i].clientConnection) ! mClientList[i].clientConnection->postNetEvent(theEvent); } } |