aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authorb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-16 22:10:47 +0000
committerb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-16 22:10:47 +0000
commite8b20046dd4c181ea9b45fb3908daef41746cff2 (patch)
tree20875b77955518b6febac556230f52c2df817820 /Game/Code
parent1027a18f09b4e176687ec7508a4085490ec519fb (diff)
downloadusdx-e8b20046dd4c181ea9b45fb3908daef41746cff2.tar.gz
usdx-e8b20046dd4c181ea9b45fb3908daef41746cff2.tar.xz
usdx-e8b20046dd4c181ea9b45fb3908daef41746cff2.zip
Fixed bug in TSkin.onThemeChange that caused a crash
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@100 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Classes/USkins.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/Game/Code/Classes/USkins.pas b/Game/Code/Classes/USkins.pas
index 6cd4a1db..67b0ae93 100644
--- a/Game/Code/Classes/USkins.pas
+++ b/Game/Code/Classes/USkins.pas
@@ -145,6 +145,7 @@ var
S: integer;
Name: String;
begin
+ Ini.SkinNo:=0;
SetLength(ISkin, 0);
Name := Uppercase(ITheme[Ini.Theme]);
for S := 0 to High(Skin) do