Thread: [Opentnl-cvs] tnl/zap CTFGame.cpp,1.5,1.6
Brought to you by:
mark_frohnmayer,
s_alanet
From: Mark F. <mar...@us...> - 2004-04-22 02:08:26
|
Update of /cvsroot/opentnl/tnl/zap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32366/zap Modified Files: CTFGame.cpp Log Message: Fixed score display Index: CTFGame.cpp =================================================================== RCS file: /cvsroot/opentnl/tnl/zap/CTFGame.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CTFGame.cpp 22 Apr 2004 00:35:22 -0000 1.5 --- CTFGame.cpp 22 Apr 2004 02:07:55 -0000 1.6 *************** *** 123,129 **** if(mClientList[j].teamId == i) { ! UserInterface::drawString(xl + 40, curRowY, fontSize, mClientList[i].name.getString()); ! UserInterface::drawStringf(xr - 140, curRowY, fontSize, "%d", mClientList[i].score); ! UserInterface::drawStringf(xr - 70, curRowY, fontSize, "%d", mClientList[i].ping); curRowY += maxHeight; } --- 123,129 ---- if(mClientList[j].teamId == i) { ! UserInterface::drawString(xl + 40, curRowY, fontSize, mClientList[j].name.getString()); ! UserInterface::drawStringf(xr - 140, curRowY, fontSize, "%d", mClientList[j].score); ! UserInterface::drawStringf(xr - 70, curRowY, fontSize, "%d", mClientList[j].ping); curRowY += maxHeight; } |