aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UDraw.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-05 21:11:16 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-05 21:11:16 +0000
commita4a3643898a9f566b926bbd5fcc47c24a18be1ab (patch)
tree9dd6006a4eb41f11cd0a73b88a95845207b97e51 /Game/Code/Classes/UDraw.pas
parentd5ecf3a8ca7d6caf21721018bb74c1fa47a83711 (diff)
downloadusdx-a4a3643898a9f566b926bbd5fcc47c24a18be1ab.tar.gz
usdx-a4a3643898a9f566b926bbd5fcc47c24a18be1ab.tar.xz
usdx-a4a3643898a9f566b926bbd5fcc47c24a18be1ab.zip
Sound is now Recording.Sound
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@665 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UDraw.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/Game/Code/Classes/UDraw.pas b/Game/Code/Classes/UDraw.pas
index efc3494b..c399057b 100644
--- a/Game/Code/Classes/UDraw.pas
+++ b/Game/Code/Classes/UDraw.pas
@@ -169,10 +169,10 @@ begin;
glColor3f(1, 1, 1); }
glBegin(GL_LINE_STRIP);
- glVertex2f(X, -Sound[NrSound].BufferArray[1] / $10000 * H + Y + H/2);
- for Pet := 2 to Sound[NrSound].n div 1 do begin
- glVertex2f(X + (Pet-1) * W / (Sound[NrSound].n - 1),
- -Sound[NrSound].BufferArray[Pet] / $10000 * H + Y + H/2);
+ glVertex2f(X, -Recording.Sound[NrSound].BufferArray[1] / $10000 * H + Y + H/2);
+ for Pet := 2 to Recording.Sound[NrSound].n div 1 do begin
+ glVertex2f(X + (Pet-1) * W / (Recording.Sound[NrSound].n - 1),
+ -Recording.Sound[NrSound].BufferArray[Pet] / $10000 * H + Y + H/2);
end;
glEnd;
end;