mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +00:00
Fix #1222
This commit is contained in:
parent
47bcad4ab1
commit
d90c2ac4b4
1 changed files with 2 additions and 2 deletions
|
@ -821,8 +821,8 @@ Rloadflats (INT32 i, INT32 w)
|
||||||
UINT8 *flatlump = W_CacheLumpNumPwad(wadnum, lumpnum, PU_CACHE);
|
UINT8 *flatlump = W_CacheLumpNumPwad(wadnum, lumpnum, PU_CACHE);
|
||||||
if (Picture_PNGDimensions((UINT8 *)flatlump, &texw, &texh, NULL, NULL, lumplength))
|
if (Picture_PNGDimensions((UINT8 *)flatlump, &texw, &texh, NULL, NULL, lumplength))
|
||||||
{
|
{
|
||||||
width = (INT16)width;
|
width = (INT16)texw;
|
||||||
height = (INT16)height;
|
height = (INT16)texh;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue