From 896dd03d25f823edc6611b9578245e1c821f73c8 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 13 Jul 2013 13:56:30 -0400 Subject: [PATCH] hitting the buttons on the bottom while pasting a stamp will cancel the paste (fixes stacking glitch) --- src/gui/game/GameView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index f58039e9f..b1d46d256 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -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);