Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16827/src Modified Files: mswindow.c Log Message: Hack to fix poor display on HR ships at angle = 0.000000 Index: mswindow.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/mswindow.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- mswindow.c 6 May 2006 05:40:00 -0000 1.13 +++ mswindow.c 6 May 2006 06:36:36 -0000 1.14 @@ -3828,6 +3828,9 @@ //Convert p_dir to radians radians=(2*3.14159*p_dir*360/255)/360; + //Setworldtransform screws up at angle = 0, slight hack to fix + if (radians == 0.0) + radians = 0.0000001; cosine=(float)cos(radians); sine=(float)sin(radians);