Fix a recently-introduced C++ error.

git-svn-id: https://svn.eduke32.com/eduke32@4501 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2014-06-13 09:01:58 +00:00
parent f6dd12ffe5
commit 94ccdb076d

View file

@ -1010,7 +1010,7 @@ void gloadtile_art(int32_t dapic, int32_t dapal, int32_t dashade, int32_t dameth
Bassert(ydif > 0 && ydif < ysiz); Bassert(ydif > 0 && ydif < ysiz);
paddedpic = Xrealloc(pic, xsiz*nextpoty*sizeof(coltype)); paddedpic = (coltype*) Xrealloc(pic, xsiz*nextpoty*sizeof(coltype));
pic = paddedpic; pic = paddedpic;
Bmemcpy(&pic[xsiz*ysiz], pic, xsiz*ydif*sizeof(coltype)); Bmemcpy(&pic[xsiz*ysiz], pic, xsiz*ydif*sizeof(coltype));