summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r--src/viewport.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index 5e8297143..8d9f4513e 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -3318,12 +3318,8 @@ CommandCost CmdScrollViewport(TileIndex tile, DoCommandFlag flags, uint32 p1, ui
if (_local_company != (CompanyID)p2) return CommandCost();
break;
case VST_CLIENT:
-#ifdef ENABLE_NETWORK
if (_network_own_client_id != (ClientID)p2) return CommandCost();
break;
-#else
- return CommandCost();
-#endif
default:
return CMD_ERROR;
}