(svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators.

This commit is contained in:
rubidium 2007-02-19 10:13:51 +00:00
parent 8dae4e45ac
commit 5011997f69
1 changed files with 1 additions and 1 deletions

View File

@ -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: