aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UTexture.pas
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-29 01:47:49 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-29 01:47:49 +0000
commit95662b4cb8252ae665de8222762f9fc320f11ea0 (patch)
tree4c04d218cc7e65c6a036bf22ff7d9b0461f66da8 /Game/Code/Classes/UTexture.pas
parente5b70a52b5fc4a572136a3a07ee2f5e443c5e52b (diff)
downloadusdx-95662b4cb8252ae665de8222762f9fc320f11ea0.tar.gz
usdx-95662b4cb8252ae665de8222762f9fc320f11ea0.tar.xz
usdx-95662b4cb8252ae665de8222762f9fc320f11ea0.zip
small fixes for lazarus build.
cleanup on some code. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@445 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UTexture.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Classes/UTexture.pas b/Game/Code/Classes/UTexture.pas
index 76eab676..eb01b4c4 100644
--- a/Game/Code/Classes/UTexture.pas
+++ b/Game/Code/Classes/UTexture.pas
@@ -980,7 +980,8 @@ begin
// use cache texture
C := Covers.CoverNumber(Name);
- if TextureDatabase.Texture[T].TextureCache.TexNum = -1 then begin
+ if TextureDatabase.Texture[T].TextureCache.TexNum = -1 then
+ begin
// load texture
Covers.PrepareData(Name);
TextureDatabase.Texture[T].TextureCache := CreateTexture(Covers.Data, Name, Covers.Cover[C].W, Covers.Cover[C].H, 24);