mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	press alt to disable mouse aiming in the map/draw editor
This commit is contained in:
		| @@ -654,7 +654,9 @@ EX void mainloopiter() { | |||||||
|     if(cwt.mirrored) playerV = playerV * Mirror; |     if(cwt.mirrored) playerV = playerV * Mirror; | ||||||
|     } |     } | ||||||
|    |    | ||||||
|   mousepan = (cmode & (sm::NORMAL | sm::DRAW | sm::MAP)) && (GDIM == 3 || (rug::rugged && lctrlclick)) && mouseaim_sensitivity; |   mousepan = cmode & sm::NORMAL; | ||||||
|  |   if((cmode & (sm::DRAW | sm::MAP)) && !hiliteclick) mousepan = true; | ||||||
|  |   mousepan = mousepan && (GDIM == 3 || (rug::rugged && lctrlclick)) && mouseaim_sensitivity; | ||||||
|   if(mousepan != oldmousepan) { |   if(mousepan != oldmousepan) { | ||||||
|     oldmousepan = mousepan; |     oldmousepan = mousepan; | ||||||
|     #if CAP_MOUSEGRAB |     #if CAP_MOUSEGRAB | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue