mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- Allow terrain definitions to work with overrides and non-flats.
SVN r4064 (trunk)
This commit is contained in:
parent
2f3dd8d959
commit
995d6f52e7
1 changed files with 3 additions and 2 deletions
|
@ -631,7 +631,8 @@ static void ParseFloor (FScanner &sc)
|
|||
int terrain;
|
||||
|
||||
sc.MustGetString ();
|
||||
picnum = TexMan.CheckForTexture (sc.String, FTexture::TEX_Flat);
|
||||
picnum = TexMan.CheckForTexture (sc.String, FTexture::TEX_Flat,
|
||||
FTextureManager::TEXMAN_Overridable|FTextureManager::TEXMAN_TryAny);
|
||||
if (!picnum.Exists())
|
||||
{
|
||||
Printf ("Unknown flat %s\n", sc.String);
|
||||
|
@ -650,7 +651,7 @@ static void ParseFloor (FScanner &sc)
|
|||
|
||||
//==========================================================================
|
||||
//
|
||||
// ParseFloor
|
||||
// ParseDefault
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
|
|
Loading…
Reference in a new issue