mirror of https://github.com/OpenTTD/OpenTTD
(svn r8808) -Fix [FS#631]: do not show the 'edit sign' window for spectators.
parent
8dae4e45ac
commit
5011997f69
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue