1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 10:59:12 +00:00

Fix: DupSprite did not copy the control_flags field

This commit is contained in:
Jonathan G Rennison
2023-11-26 01:35:19 +00:00
committed by Peter Nelson
parent 0f0f3d74ca
commit f3b922d220

View File

@@ -699,6 +699,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;
}
/**