mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +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;
|
||||
}
|
||||
else if ((Switch = TexAnim.FindSwitch (side->GetTexture(side_t::bottom))) != NULL)
|
||||
{
|
||||
texture = side_t::bottom;
|
||||
}
|
||||
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)
|
||||
{
|
||||
texture = side_t::bottom;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (quest != NULL)
|
||||
|
|
Loading…
Reference in a new issue