diff --git a/source/build/src/engine.cpp b/source/build/src/engine.cpp index 81cdea343..519504fb3 100644 --- a/source/build/src/engine.cpp +++ b/source/build/src/engine.cpp @@ -7140,7 +7140,7 @@ static void dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t if (d4 >= u4) vlineasm4(d4-u4+1, (char *)(ylookup[u4]+p)); - i = p+ylookup[d4+1]; + intptr_t i = p+ylookup[d4+1]; if (y2ve[0] > d4) prevlineasm1(vince[0],palookupoffse[0],y2ve[0]-d4-1,vplce[0],bufplce[0],i+0); if (y2ve[1] > d4) prevlineasm1(vince[1],palookupoffse[1],y2ve[1]-d4-1,vplce[1],bufplce[1],i+1); if (y2ve[2] > d4) prevlineasm1(vince[2],palookupoffse[2],y2ve[2]-d4-1,vplce[2],bufplce[2],i+2); @@ -7164,7 +7164,7 @@ static void dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t if (d4 >= u4) mvlineasm4(d4-u4+1, (char *)(ylookup[u4]+p)); - i = p+ylookup[d4+1]; + intptr_t i = p+ylookup[d4+1]; if (y2ve[0] > d4) mvlineasm1(vince[0],palookupoffse[0],y2ve[0]-d4-1,vplce[0],bufplce[0],i+0); if (y2ve[1] > d4) mvlineasm1(vince[1],palookupoffse[1],y2ve[1]-d4-1,vplce[1],bufplce[1],i+1); if (y2ve[2] > d4) mvlineasm1(vince[2],palookupoffse[2],y2ve[2]-d4-1,vplce[2],bufplce[2],i+2);