Fixed shape of tunnel supports.

alut-include-path
Clonkonaut 2017-05-02 23:48:50 +02:00
parent 861b0bc08e
commit fd55514279
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@ public func Extend(int percentage)
extension = percentage;
var height = 30 + (55 * percentage / 100);
percentage = 2500 * percentage / 100;
PlayAnimation("extend", 1, Anim_Const(percentage));
var height = 30 + (55 * percentage / 100);
SetShape(-15, -height/2, 30, height);
SetShape(-15, -15 + (30 - height), 30, height);
}
public func SaveScenarioObject(props)