1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 19:09:09 +00: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:
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;
}
/**