mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +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);
|
||||
if (Picture_PNGDimensions((UINT8 *)flatlump, &texw, &texh, NULL, NULL, lumplength))
|
||||
{
|
||||
width = (INT16)width;
|
||||
height = (INT16)height;
|
||||
width = (INT16)texw;
|
||||
height = (INT16)texh;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue