mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 16:00:55 +00:00
- change switch checking back to vanilla order.
This commit is contained in:
parent
a3a65f184f
commit
9df70cd0df
1 changed files with 4 additions and 4 deletions
|
@ -257,14 +257,14 @@ bool P_ChangeSwitchTexture (side_t *side, int useAgain, uint8_t special, bool *q
|
||||||
{
|
{
|
||||||
texture = side_t::top;
|
texture = side_t::top;
|
||||||
}
|
}
|
||||||
|
else if ((Switch = TexAnim.FindSwitch(side->GetTexture(side_t::mid))) != NULL)
|
||||||
|
{
|
||||||
|
texture = side_t::mid;
|
||||||
|
}
|
||||||
else if ((Switch = TexAnim.FindSwitch (side->GetTexture(side_t::bottom))) != NULL)
|
else if ((Switch = TexAnim.FindSwitch (side->GetTexture(side_t::bottom))) != NULL)
|
||||||
{
|
{
|
||||||
texture = side_t::bottom;
|
texture = side_t::bottom;
|
||||||
}
|
}
|
||||||
else if ((Switch = TexAnim.FindSwitch (side->GetTexture(side_t::mid))) != NULL)
|
|
||||||
{
|
|
||||||
texture = side_t::mid;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (quest != NULL)
|
if (quest != NULL)
|
||||||
|
|
Loading…
Reference in a new issue