mirror of https://github.com/OpenTTD/OpenTTD
Fix: DupSprite did not copy the control_flags field
parent
0f0f3d74ca
commit
f3b922d220
|
@ -699,6 +699,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