adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[adonthell-wastesedge-commits] master 2b7e807 07/21: FIXED garbage showi


From: Kai Sterker
Subject: [adonthell-wastesedge-commits] master 2b7e807 07/21: FIXED garbage showing up in first frame of intro, due to uninitialized label
Date: Mon, 25 Jul 2016 18:16:38 +0000 (UTC)

branch: master
commit 2b7e80737499901e28383371bd6ff1689c86edc1
Author: Kai Sterker <address@hidden>
Commit: Kai Sterker <address@hidden>

    FIXED garbage showing up in first frame of intro, due to uninitialized label
---
 scripts/modules/intro.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/modules/intro.py b/scripts/modules/intro.py
index 0179702..f831f77 100644
--- a/scripts/modules/intro.py
+++ b/scripts/modules/intro.py
@@ -85,6 +85,7 @@ cont.set_trans_background (True)
 lab = win_label ()
 lab.move (5, 5)
 lab.resize (cont.length () - 10, cont.height () - 10)
+lab.fillrect(0, 0, cont.length () - 10, cont.height () - 10, 0)
 lab.set_font (font)
 lab.pack ()
 
@@ -159,7 +160,7 @@ status = -1
 letsexit = 0
 
 screen_clear ()
-
+    
 gametime_start_action ()
 audio_play_background (0)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]