forked from Mirrors/openclonk
Fix display of moving bricks with size<4.
parent
d48dbfba82
commit
76ce8089af
|
@ -28,6 +28,7 @@ public func SetSize(int to_size)
|
|||
// Update graphics.
|
||||
var graph = Format("Size%dN%d", size, 1 + Random(1));
|
||||
SetGraphics(graph);
|
||||
SetShape(-20,-4,size*10,8);
|
||||
// Update solid
|
||||
SetSolidMask(0,size*8-8,10*size,8);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue