mirror of https://github.com/OpenTTD/OpenTTD
Fix #10280, 59645c6: Ignore double-click for unavailable town actions
parent
d6aa526b69
commit
3278f4c7bb
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue