mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 21:06:58 +00:00
(svn r19745) -Fix: The GUI is controlled by _local_company, not _current_company.
This commit is contained in:
parent
910aade284
commit
7563432119
@ -1776,7 +1776,7 @@ static bool CheckClickOnStation(const ViewPort *vp, int x, int y)
|
||||
static bool CheckClickOnSign(const ViewPort *vp, int x, int y)
|
||||
{
|
||||
/* Signs are turned off, or they are transparent and invisibility is ON, or company is a spectator */
|
||||
if (!HasBit(_display_opt, DO_SHOW_SIGNS) || IsInvisibilitySet(TO_SIGNS) || _current_company == COMPANY_SPECTATOR) return false;
|
||||
if (!HasBit(_display_opt, DO_SHOW_SIGNS) || IsInvisibilitySet(TO_SIGNS) || _local_company == COMPANY_SPECTATOR) return false;
|
||||
|
||||
const Sign *si;
|
||||
FOR_ALL_SIGNS(si) {
|
||||
|
Loading…
Reference in New Issue
Block a user