aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 19:29:19 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 19:29:19 +0000
commit14cc4aa3f5db2d0f02e59c9e0889c30418ea6638 (patch)
treed44203207f0840cd12e169495ddacb48e53e0116
parent6544adb6b3022e22636ffb4047ccc00cd6ea6f6b (diff)
downloadusdx-14cc4aa3f5db2d0f02e59c9e0889c30418ea6638.tar.gz
usdx-14cc4aa3f5db2d0f02e59c9e0889c30418ea6638.tar.xz
usdx-14cc4aa3f5db2d0f02e59c9e0889c30418ea6638.zip
CurrentTexture.Name = Name -> CurrentTexture.Name.Equals(Name)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1892 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--unicode/src/base/UTexture.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/unicode/src/base/UTexture.pas b/unicode/src/base/UTexture.pas
index 04badae4..e477dbb1 100644
--- a/unicode/src/base/UTexture.pas
+++ b/unicode/src/base/UTexture.pas
@@ -198,7 +198,7 @@ begin
for TextureIndex := 0 to High(Texture) do
begin
CurrentTexture := @Texture[TextureIndex];
- if (CurrentTexture.Name = Name) and
+ if (CurrentTexture.Name.Equals(Name)) and
(CurrentTexture.Typ = Typ) then
begin
// colorized textures must match in their color too