aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-19 14:02:17 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-19 14:02:17 +0000
commitf4537c94794d456d4b7157efeeca2509363bdbb8 (patch)
treea2ded8b57f31bf7f02a34b9cb5f32eb825446875 /Game/Code/Classes
parent46aba686fbcfdee835eaa47143c632b4de53fb68 (diff)
downloadusdx-f4537c94794d456d4b7157efeeca2509363bdbb8.tar.gz
usdx-f4537c94794d456d4b7157efeeca2509363bdbb8.tar.xz
usdx-f4537c94794d456d4b7157efeeca2509363bdbb8.zip
mmmmmmmmmmmmm
Looping background images in the menu's ... http://trac2.assembla.com/usdx/ticket/5#comment:2 ( starting to get there ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@865 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes')
-rw-r--r--Game/Code/Classes/UPlatformWindows.pas2
-rw-r--r--Game/Code/Classes/UVideo.pas3
2 files changed, 3 insertions, 2 deletions
diff --git a/Game/Code/Classes/UPlatformWindows.pas b/Game/Code/Classes/UPlatformWindows.pas
index ea2fe198..3d1713ee 100644
--- a/Game/Code/Classes/UPlatformWindows.pas
+++ b/Game/Code/Classes/UPlatformWindows.pas
@@ -194,7 +194,7 @@ end;
procedure TPlatformWindows.halt;
begin
- halt(0); // Application.terminate does NOT do the same thing..
+ halt(); // Application.terminate does NOT do the same thing..
end;
function TPlatformWindows.GetLogPath : WideString;
diff --git a/Game/Code/Classes/UVideo.pas b/Game/Code/Classes/UVideo.pas
index 1eab5d91..b48f89c5 100644
--- a/Game/Code/Classes/UVideo.pas
+++ b/Game/Code/Classes/UVideo.pas
@@ -223,7 +223,8 @@ begin
'TimeDiff: '+inttostr(floor(TimeDifference*1000)));
{$endif}
- if (VideoTime <> 0) and (TimeDifference <= VideoTimeBase) then
+// if (VideoTime <> 0) and (TimeDifference <= VideoTimeBase) then
+ if (VideoTime <> 0) and flooptime = 0 then
begin
{$ifdef DebugFrames}
// frame delay debug display