Changeset - r16056:e4e499b1332b
[Not reviewed]
master
0 2 0
smatz - 14 years ago 2010-09-07 11:00:42
smatz@openttd.org
(svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active
2 files changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/viewport.cpp
Show inline comments
 
@@ -1811,7 +1811,10 @@ bool HandleViewportClicked(const ViewPor
 
		if (v != NULL && VehicleClicked(v)) return true;
 
	}
 

	
 
	if (_thd.place_mode & HT_DRAG_MASK) return false;
 
	if (_thd.place_mode & HT_DRAG_MASK) {
 
		PlaceObject();
 
		return true;
 
	}
 

	
 
	if (CheckClickOnTown(vp, x, y)) return true;
 
	if (CheckClickOnStation(vp, x, y)) return true;
src/window.cpp
Show inline comments
 
@@ -2209,8 +2209,6 @@ static void MouseLoop(MouseClick click, 
 
						_settings_client.gui.left_mouse_btn_scrolling) {
 
					_scrolling_viewport = true;
 
					_cursor.fix_at = false;
 
				} else {
 
					PlaceObject();
 
				}
 
				break;
 

	
0 comments (0 inline, 0 general)