From 5011997f69e9de0c1d72b809c50b8e50fb5a58c2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 19 Feb 2007 10:13:51 +0000 Subject: (svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators. --- src/viewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewport.cpp b/src/viewport.cpp index 04cdca236..edba8cd94 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -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: -- cgit v1.2.3-70-g09d2