Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #7410: Sign position/width not set on initial creation. #7413

Merged
merged 1 commit into from Mar 25, 2019

Conversation

PeterN
Copy link
Member

@PeterN PeterN commented Mar 25, 2019

Sign width was only updated when the text was changed. This seems to work for player-placed
signs as there is always a rename operation, however AIs can create a sign with text in one
go, in which case the width was never set.

Sign width was only updated when the text was changed. This seems to work for player-placed
signs as there is always a rename operation, however AIs can create a sign with text in one
go, in which case the width was never set.
@PeterN PeterN requested a review from nielsmh March 25, 2019 19:30
@PeterN PeterN merged commit 698241e into OpenTTD:master Mar 25, 2019
@PeterN PeterN deleted the fix-7410 branch March 25, 2019 20:01
@PeterN PeterN mentioned this pull request Mar 25, 2019
douiwby pushed a commit to douiwby/OpenTTD that referenced this pull request Apr 16, 2020
…penTTD#7413)

Sign width was only updated when the text was changed. This seems to work for player-placed
signs as there is always a rename operation, however AIs can create a sign with text in one
go, in which case the width was never set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants