diff options
author | b1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-04-16 22:10:47 +0000 |
---|---|---|
committer | b1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-04-16 22:10:47 +0000 |
commit | e8b20046dd4c181ea9b45fb3908daef41746cff2 (patch) | |
tree | 20875b77955518b6febac556230f52c2df817820 | |
parent | 1027a18f09b4e176687ec7508a4085490ec519fb (diff) | |
download | usdx-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 '')
-rw-r--r-- | Game/Code/Classes/USkins.pas | 1 |
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
|