mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators.
This commit is contained in:
parent
8dae4e45ac
commit
5011997f69
@ -1595,7 +1595,7 @@ static bool CheckClickOnSign(const ViewPort *vp, int x, int y)
|
||||
{
|
||||
const Sign *si;
|
||||
|
||||
if (!(_display_opt & DO_SHOW_SIGNS)) return false;
|
||||
if (!(_display_opt & DO_SHOW_SIGNS) || _current_player == PLAYER_SPECTATOR) return false;
|
||||
|
||||
switch (vp->zoom) {
|
||||
case 0:
|
||||
|
Loading…
Reference in New Issue
Block a user