# HG changeset patch # User rubidium # Date 1171880031 0 # Node ID cc6d57844f35fdaa0735c8b9056cf740e772a2b0 # Parent 10757792febf3715dea235ad2173501bc71270d6 (svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators. diff --git a/src/viewport.cpp b/src/viewport.cpp --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -1595,7 +1595,7 @@ { 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: