fix coordinates when placing stamps

This commit is contained in:
jacob1 2015-06-26 11:44:06 -04:00
parent d08621a0f6
commit 80bf240ced

View File

@ -2054,8 +2054,8 @@ void GameView::OnDraw()
{ {
if(placeSaveThumb && selectPoint2.X!=-1) if(placeSaveThumb && selectPoint2.X!=-1)
{ {
int thumbX = selectPoint2.X - (placeSaveThumb->Width/2); int thumbX = selectPoint2.X - (placeSaveThumb->Width/2) + CELL/2;
int thumbY = selectPoint2.Y - (placeSaveThumb->Height/2); int thumbY = selectPoint2.Y - (placeSaveThumb->Height/2) + CELL/2;
ui::Point thumbPos = c->NormaliseBlockCoord(ui::Point(thumbX, thumbY)); ui::Point thumbPos = c->NormaliseBlockCoord(ui::Point(thumbX, thumbY));