mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- fixed issue with parsing useowncoloradd UDMF flags
This commit is contained in:
parent
b8b93e0dd8
commit
ff9a56dc0b
1 changed files with 4 additions and 2 deletions
|
@ -1410,12 +1410,14 @@ public:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NAME_useowncoloradd_top:
|
case NAME_useowncoloradd_top:
|
||||||
Flag(sd->textures[side_t::top].flags, side_t::part::UseOwnAdditiveColor, key);
|
if (Flag(sd->textures[side_t::top].flags, side_t::part::UseOwnAdditiveColor, key))
|
||||||
sd->Flags |= WALLF_EXTCOLOR;
|
sd->Flags |= WALLF_EXTCOLOR;
|
||||||
|
break;
|
||||||
|
|
||||||
case NAME_useowncoloradd_mid:
|
case NAME_useowncoloradd_mid:
|
||||||
if (Flag(sd->textures[side_t::mid].flags, side_t::part::UseOwnAdditiveColor, key))
|
if (Flag(sd->textures[side_t::mid].flags, side_t::part::UseOwnAdditiveColor, key))
|
||||||
sd->Flags |= WALLF_EXTCOLOR;
|
sd->Flags |= WALLF_EXTCOLOR;
|
||||||
|
break;
|
||||||
|
|
||||||
case NAME_useowncoloradd_bottom:
|
case NAME_useowncoloradd_bottom:
|
||||||
if (Flag(sd->textures[side_t::bottom].flags, side_t::part::UseOwnAdditiveColor, key))
|
if (Flag(sd->textures[side_t::bottom].flags, side_t::part::UseOwnAdditiveColor, key))
|
||||||
|
|
Loading…
Reference in a new issue