From: Tim R. <tim...@us...> - 2001-11-27 19:44:44
|
Update of /cvsroot/bzflag/bzflag/src/obstacle In directory usw-pr-cvs1:/tmp/cvs-serv11240/src/obstacle Modified Files: BaseBuilding.cxx Log Message: 1.7e4 release cleanup Index: BaseBuilding.cxx =================================================================== RCS file: /cvsroot/bzflag/bzflag/src/obstacle/BaseBuilding.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- BaseBuilding.cxx 2001/11/26 20:36:02 1.1 +++ BaseBuilding.cxx 2001/11/27 19:44:42 1.2 @@ -215,16 +215,16 @@ GLfloat color[4]; switch(base->getTeam()) { case 1: - color[0] = 0.7; color[1] = 0.0; color[2] = 0.0; + color[0] = 0.7f; color[1] = 0.0f; color[2] = 0.0f; break; case 2: - color[0] = 0.0; color[1] = 0.7; color[2] = 0.0; + color[0] = 0.0f; color[1] = 0.7f; color[2] = 0.0f; break; case 3: - color[0] = 0.0; color[1] = 0.0; color[2] = 0.7; + color[0] = 0.0f; color[1] = 0.0f; color[2] = 0.7f; break; case 4: - color[0] = 0.7; color[1] = 0.0; color[2] = 0.7; + color[0] = 0.7f; color[1] = 0.0f; color[2] = 0.7f; break; } color[3] = 1.0; |