aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-15 17:49:27 +0000
committerb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-15 17:49:27 +0000
commit78ddfd6d20e419716dfa5085e01b059d40dd61ed (patch)
treeb9cb6cd7cd1a488899aa4c88b13ac00c3ddf28ec
parent552ecdfe2256ce2c9bd2162bead5b77736fc410b (diff)
downloadusdx-78ddfd6d20e419716dfa5085e01b059d40dd61ed.tar.gz
usdx-78ddfd6d20e419716dfa5085e01b059d40dd61ed.tar.xz
usdx-78ddfd6d20e419716dfa5085e01b059d40dd61ed.zip
fixed angle calculation of covers in the background
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@193 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--Game/Code/Screens/UScreenSong.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas
index 114c52a3..9fcb7ee8 100644
--- a/Game/Code/Screens/UScreenSong.pas
+++ b/Game/Code/Screens/UScreenSong.pas
@@ -1142,7 +1142,7 @@ begin
else
Pos := (Pos + VS/2) /VS;
- Angle := 2 * pi * Pos*1.2;
+ Angle := pi * Pos*2;
Button[B].Z := (0.4 - Abs(Pos/4)) -0.00001; //z < 0.49999 is behind the cover 1 is in front of the covers