SHARE
TWEET

Untitled

a guest Jan 18th, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             if (flags & DC_EXEC) {
  2.                 if (IsCanal(tile) && Company::IsValidID(owner)) {
  3.                     Company::Get(owner)->infrastructure.water--;
  4.                     DirtyCompanyInfrastructureWindows(owner);
  5.                 }
  6.                 bool remove = IsDockingTile(tile);
  7.                 bool canal_on_river = HasTileCanalOnRiver(tile);
  8.                 DoClearSquare(tile);
  9.                 if (canal_on_river) {
  10.                     MakeRiver(tile, Random());
  11.                 } else if (remove) {
  12.                     RemoveDockingTile(tile);
  13.                 }
  14.                 MarkCanalsAndRiversAroundDirty(tile);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top