forked from mirror/OpenTTD
(svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators.
This commit is contained in:
@@ -1595,7 +1595,7 @@ static bool CheckClickOnSign(const ViewPort *vp, int x, int y)
|
|||||||
{
|
{
|
||||||
const Sign *si;
|
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) {
|
switch (vp->zoom) {
|
||||||
case 0:
|
case 0:
|
||||||
|
Reference in New Issue
Block a user