mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Added clear tile variation(this will be break some maps and may require them to be redone).
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user