changeset 6075:cc6d57844f35 draft

(svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators.
author rubidium <rubidium@openttd.org>
date Mon, 19 Feb 2007 10:13:51 +0000
parents 10757792febf
children 0540ac4a12e6
files src/viewport.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: