aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/ULight.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-07-02 08:23:35 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-07-02 08:23:35 +0000
commit94b9441d2ec4fba0c65a25296f3693b727eea799 (patch)
tree14cca8764f5d185a1138c238aca58ce8552889f1 /Game/Code/Classes/ULight.pas
parentfaf4c13bf41a17ce920a2194fc396f8bf7b44331 (diff)
downloadusdx-94b9441d2ec4fba0c65a25296f3693b727eea799.tar.gz
usdx-94b9441d2ec4fba0c65a25296f3693b727eea799.tar.xz
usdx-94b9441d2ec4fba0c65a25296f3693b727eea799.zip
indenting and cleanup
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1158 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/ULight.pas')
-rw-r--r--Game/Code/Classes/ULight.pas5
1 files changed, 0 insertions, 5 deletions
diff --git a/Game/Code/Classes/ULight.pas b/Game/Code/Classes/ULight.pas
index a4bebfd2..a0a399ab 100644
--- a/Game/Code/Classes/ULight.pas
+++ b/Game/Code/Classes/ULight.pas
@@ -123,19 +123,14 @@ end;
procedure TLight.Refresh;
var
Time: real;
-// TimeSkip: real;
L: integer;
begin
if Enabled then begin
Time := GetTime;
-// TimeSkip := Time - LastTime;
for L := 0 to 7 do begin
if Light[L] = true then begin
if LightTime[L] > Time then begin
- // jest jeszcze zapas - bez zmian
- //LightTime[L] := LightTime[L] - TimeSkip;
end else begin
- // czas minal
Light[L] := false;
end;
end;