mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
7ba0f2467a
1 changed files with 6 additions and 3 deletions
|
@ -749,8 +749,11 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
|
|||
{
|
||||
error = true;
|
||||
}
|
||||
|
||||
while (sc.GetString ())
|
||||
else
|
||||
{
|
||||
Texture(anim.BaseTexture)->bNoDecals = true;
|
||||
}
|
||||
while (sc.GetString())
|
||||
{
|
||||
if (sc.Compare ("opensound"))
|
||||
{
|
||||
|
@ -781,7 +784,7 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
|
|||
}
|
||||
else if (sc.Compare("allowdecals"))
|
||||
{
|
||||
if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = true;
|
||||
if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue