changeset 2951 | 2de6d3a59743 |
parent 2877 | 3058c128f10e |
child 2952 | 58522ed8f0f1 |
--- a/window.c Wed Feb 01 06:12:02 2006 +0000 +++ b/window.c Wed Feb 01 06:32:03 2006 +0000 @@ -1371,11 +1371,10 @@ x = _cursor.pos.x; y = _cursor.pos.y; - if (click == 0 && mousewheel == 0) { if (_patches.autoscroll && _game_mode != GM_MENU) { w = FindWindowFromPt(x, y); - if (w == NULL || w->flags4 & WF_DISABLE_VP_SCROLL ) return; + if (w == NULL || w->flags4 & WF_DISABLE_VP_SCROLL) return; vp = IsPtInWindowViewport(w, x, y); if (vp) { x -= vp->left;