mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- Fixed: The Build loader did not set the wall texture scaling properly, either.
SVN r2219 (trunk)
This commit is contained in:
parent
92890066b6
commit
8b98a3510e
1 changed files with 2 additions and 0 deletions
|
@ -517,6 +517,8 @@ static void LoadWalls (walltype *walls, int numwalls, sectortype *bsec)
|
||||||
}
|
}
|
||||||
|
|
||||||
sides[i].TexelLength = walls[i].xrepeat * 8;
|
sides[i].TexelLength = walls[i].xrepeat * 8;
|
||||||
|
sides[i].SetTextureYScale(walls[i].yrepeat << (FRACBITS - 3));
|
||||||
|
sides[i].SetTextureXScale(FRACUNIT);
|
||||||
sides[i].SetLight(SHADE2LIGHT(walls[i].shade));
|
sides[i].SetLight(SHADE2LIGHT(walls[i].shade));
|
||||||
sides[i].Flags = WALLF_ABSLIGHTING;
|
sides[i].Flags = WALLF_ABSLIGHTING;
|
||||||
sides[i].RightSide = walls[i].point2;
|
sides[i].RightSide = walls[i].point2;
|
||||||
|
|
Loading…
Reference in a new issue