hitting the buttons on the bottom while pasting a stamp will cancel the paste (fixes stacking glitch)

This commit is contained in:
jacob1 2013-07-13 13:56:30 -04:00
parent 728d201e93
commit 896dd03d25

View File

@ -1070,7 +1070,7 @@ void GameView::OnMouseUp(int x, int y, unsigned button)
{
if(selectMode==PlaceSave)
{
if(placeSaveThumb)
if(placeSaveThumb && y <= YRES+MENUSIZE-BARSIZE)
{
int thumbX = selectPoint2.X - (placeSaveThumb->Width/2);
int thumbY = selectPoint2.Y - (placeSaveThumb->Height/2);