Loading

ai_semaphore.diff

  1. ndex: src/script/api/script_rail.cpp
  2. ===================================================================
  3. --- src/script/api/script_rail.cpp  (Revision 27604)
  4. +++ src/script/api/script_rail.cpp  (Arbeitskopie)
  5. @@ -458,6 +458,7 @@
  6.         p1 |= (signal_cycles << 15);
  7.     }
  8.     p1 |= ((signal >= SIGNALTYPE_TWOWAY ? signal ^ SIGNALTYPE_TWOWAY : signal) << 5);
  9. +        SetBit(p1, 4); // Semaphore
  10.  
  11.     return ScriptObject::DoCommand(tile, p1, 0, CMD_BUILD_SIGNALS);
  12.  }

Comments