aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/ULog.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/ULog.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/ULog.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/Game/Code/Classes/ULog.pas b/Game/Code/Classes/ULog.pas
index ac08f2d5..50e9bf68 100644
--- a/Game/Code/Classes/ULog.pas
+++ b/Game/Code/Classes/ULog.pas
@@ -214,9 +214,9 @@ begin
FS := TFileStream.Create(FileName, fmCreate);
- for BL := 0 to High(Sound[SoundNr].BufferLong) do begin
- Sound[SoundNr].BufferLong[BL].Seek(0, soBeginning);
- FS.CopyFrom(Sound[SoundNr].BufferLong[BL], Sound[SoundNr].BufferLong[BL].Size);
+ for BL := 0 to High(Recording.Sound[SoundNr].BufferLong) do begin
+ Recording.Sound[SoundNr].BufferLong[BL].Seek(0, soBeginning);
+ FS.CopyFrom(Recording.Sound[SoundNr].BufferLong[BL], Recording.Sound[SoundNr].BufferLong[BL].Size);
end;
FS.Free;