Added clear tile variation(this will be break some maps and may require them to be redone).

This commit is contained in:
Justin Marshall
2020-07-12 17:25:50 -07:00
parent fbcd9e4bba
commit b5fd70a200
5 changed files with 153 additions and 180 deletions
+2 -1
View File
@@ -1041,8 +1041,9 @@ inline void GraphicViewPortClass::Draw_Stamp(void const * icondata, int icon, in
if (Lock()){
UnCachedIconsDrawn++;
extern int ScreenHeight, ScreenWidth;
if(y_pixel < ScreenHeight && x_pixel < ScreenWidth)
if (y_pixel < ScreenHeight && x_pixel < ScreenWidth) {
Buffer_Draw_Stamp_Clip(this, icondata, icon, x_pixel, y_pixel, remap, WindowList[clip_window][WINDOWX], WindowList[clip_window][WINDOWY], WindowList[clip_window][WINDOWWIDTH], WindowList[clip_window][WINDOWHEIGHT]);
}
}
}
Unlock();