- Fixed: The particle fountains' names were different than before
- Fixed: FTexture::CheckForTexture should return NULL if the texture it finds is of type FTexture::TEX_Null. If this isn't done not all occurences of AASHITTY being used to silence an editor's error checker will be handled correctly. In particular the transparent door trick will break. SVN r411 (trunk)
This commit is contained in:
parent
e55e4f0932
commit
08a1ffce23
3 changed files with 16 additions and 8 deletions
|
|
@ -116,7 +116,8 @@ int FTextureManager::CheckForTexture (const char *name, int usetype, BITFIELD fl
|
|||
// The name matches, so check the texture type
|
||||
if (usetype == FTexture::TEX_Any)
|
||||
{
|
||||
return i;
|
||||
// All NULL textures should actually return 0
|
||||
return tex->UseType==FTexture::TEX_Null? 0 : i;
|
||||
}
|
||||
else if ((flags & TEXMAN_Overridable) && tex->UseType == FTexture::TEX_Override)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue