1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Fix: DupSprite did not copy the control_flags field (#12906)

Co-authored-by: Jonathan G Rennison <j.g.rennison@gmail.com>
This commit is contained in:
Peter Nelson
2024-09-07 14:57:44 +01:00
committed by GitHub
parent 69aa6f66ec
commit 29ff3d7b90

View File

@@ -697,6 +697,7 @@ void DupSprite(SpriteID old_spr, SpriteID new_spr)
scnew->id = scold->id;
scnew->type = scold->type;
scnew->warned = false;
scnew->control_flags = scold->control_flags;
}
/**