Changeset - r26866:0d5dc699e51b
[Not reviewed]
master
0 1 0
glx22 - 16 months ago 2023-02-10 04:05:16
glx@openttd.org
Fix #10280, 59645c6: Ignore double-click for unavailable town actions
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/town_gui.cpp
Show inline comments
 
@@ -297,7 +297,7 @@ public:
 
				}
 

	
 
				/* When double-clicking, continue */
 
				if (click_count == 1 || y < 0) break;
 
				if (click_count == 1 || y < 0 || !HasBit(this->available_actions, y)) break;
 
				FALLTHROUGH;
 
			}
 

	
0 comments (0 inline, 0 general)