The International Simutrans Forum

 

Author Topic: Rotating factory (using the rotate building tool) does not rotate the smoke  (Read 395 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki

  • Devotee
  • *
  • Posts: 3714
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
As written in the subject. After rotating factory (using the rotate building tool) the smoke keeps appearing at the original position. Rotating the whole map does not help, only rotating the factory back to its original position.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4863
  • Languages: EN, DE, AT
:) there is an internal variable which is not adjusted.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10572
  • Languages: De,EN,JP
Please test r9541, that should fix it.

Offline Vladki

  • Devotee
  • *
  • Posts: 3714
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Please test r9541, that should fix it.
It rotates the smoke in the opposite direction, than the building.
Building goes counter-clockwise, but smoke goes clockwise.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10572
  • Languages: De,EN,JP
Strange, I copied the code from the rotate90 routine. Ok, try r9546.

Offline Vladki

  • Devotee
  • *
  • Posts: 3714
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Thank you, now it rotates properly.