The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Vladki on January 09, 2021, 07:05:44 PM

Title: Rotating factory (using the rotate building tool) does not rotate the smoke
Post by: Vladki on January 09, 2021, 07:05:44 PM
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.
Title: Re: Rotating factory (using the rotate building tool) does not rotate the smoke
Post by: Dwachs on January 09, 2021, 08:29:56 PM
:) there is an internal variable which is not adjusted.
Title: Re: Rotating factory (using the rotate building tool) does not rotate the smoke
Post by: prissi on January 10, 2021, 12:11:42 PM
Please test r9541, that should fix it.
Title: Re: Rotating factory (using the rotate building tool) does not rotate the smoke
Post by: Vladki on January 10, 2021, 08:16:31 PM
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.
Title: Re: Rotating factory (using the rotate building tool) does not rotate the smoke
Post by: prissi on January 11, 2021, 12:29:48 PM
Strange, I copied the code from the rotate90 routine. Ok, try r9546.
Title: Re: Rotating factory (using the rotate building tool) does not rotate the smoke
Post by: Vladki on January 11, 2021, 05:47:42 PM
Thank you, now it rotates properly.