mirror of https://github.com/OpenTTD/OpenTTD
Fix: DupSprite did not copy the control_flags field (#12906)
Co-authored-by: Jonathan G Rennison <j.g.rennison@gmail.com>pull/12933/head
parent
69aa6f66ec
commit
29ff3d7b90
|
@ -697,6 +697,7 @@ void DupSprite(SpriteID old_spr, SpriteID new_spr)
|
||||||
scnew->id = scold->id;
|
scnew->id = scold->id;
|
||||||
scnew->type = scold->type;
|
scnew->type = scold->type;
|
||||||
scnew->warned = false;
|
scnew->warned = false;
|
||||||
|
scnew->control_flags = scold->control_flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue