Mercurial > mm7
diff mm7_2.cpp @ 1113:39eaa6b00141
something to bool cast (performance warning) mostly fixed
author | Grumpy7 |
---|---|
date | Tue, 28 May 2013 00:19:45 +0200 |
parents | 5d5c78088274 |
children | aa706cde7fda 8a965c8faf05 |
line wrap: on
line diff
--- a/mm7_2.cpp Mon May 27 23:29:39 2013 +0200 +++ b/mm7_2.cpp Tue May 28 00:19:45 2013 +0200 @@ -7053,7 +7053,7 @@ v29 = 0; //goto LABEL_262; v30 = 1; - ArcomageGame::OnMouseClick(v30, v29); + ArcomageGame::OnMouseClick(v30, v29 != 0); return DefWindowProcA(hWnd, Msg, wParam, lParam); case WM_LBUTTONDBLCLK: @@ -7129,7 +7129,7 @@ ArcomageGame::OnMouseMove((POINT *)pXY); ArcomageGame::OnMouseClick(0, wParam & 1); v29 = (wParam >> 1) & 1; - ArcomageGame::OnMouseClick(1, v29); + ArcomageGame::OnMouseClick(1, v29 != 0); } else {