From: Andy D. <kha...@us...> - 2005-01-09 11:58:14
|
Update of /cvsroot/planeshift/planeshift/src/client/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10081/client/gui Modified Files: pawsinfowindow.cpp Log Message: Fixed stances being sent as floats rather than ints Index: pawsinfowindow.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/gui/pawsinfowindow.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** pawsinfowindow.cpp 23 Dec 2004 11:51:20 -0000 1.16 --- pawsinfowindow.cpp 9 Jan 2005 11:58:04 -0000 1.17 *************** *** 358,366 **** else { ! float value = reporter->GetID() / 100; //value = ( value + 1 ) / 20; ! cmd.Format("/attack %0f", value ); } --- 358,366 ---- else { ! int value = reporter->GetID() / 100; //value = ( value + 1 ) / 20; ! cmd.Format("/attack %i", value ); } |