- fixed some Linux issues with recent changes.
This commit is contained in:
parent
802a478766
commit
2944e4f6ae
3 changed files with 3 additions and 7 deletions
|
|
@ -233,7 +233,7 @@ FTextureID FTextureManager::CheckForTexture (const char *name, int usetype, BITF
|
|||
{
|
||||
FTexture *const NO_TEXTURE = (FTexture*)-1;
|
||||
int lump = Wads.CheckNumForFullName(name);
|
||||
if (lump != NULL)
|
||||
if (lump >= 0)
|
||||
{
|
||||
FTexture *tex = Wads.GetLinkedTexture(lump);
|
||||
if (tex == NO_TEXTURE) return FTextureID(-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue