aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenCredits.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenCredits.pas9
1 files changed, 7 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenCredits.pas b/Game/Code/Screens/UScreenCredits.pas
index 0daedf4d..254f9357 100644
--- a/Game/Code/Screens/UScreenCredits.pas
+++ b/Game/Code/Screens/UScreenCredits.pas
@@ -1218,11 +1218,16 @@ Log.LogStatus('',' JB-4');
else
f:=0;
- if CTime >=STime+Delay-10 then if CTime <=STime+Delay then begin
+ if (CTime >= STime+Delay-10) and (CTime <= STime+Delay) then
+ begin
j:=CTime-(STime+Delay-10);
g:=32.6*j;
- end else
+ end
+ else
+ begin
g:=0;
+ end;
+
glBindTexture(GL_TEXTURE_2D, credits_whiteshark.TexNum);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);