Skip to content
Snippets Groups Projects
Commit d6df0694 authored by sphere's avatar sphere
Browse files

Merge branch 'fix-1222' into 'next'

Fix #1222

Closes #1222

See merge request STJr/SRB2!2448
parents a5e89ea0 d90c2ac4
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment