Boomshire: making sure the airplane will always be upright when reset.

install-platforms
Clonkonaut 2017-10-25 15:00:38 +02:00
parent afa348ab21
commit cbe536711c
1 changed files with 2 additions and 1 deletions

View File

@ -160,8 +160,9 @@ global func FxPlaneResetTimer(object target, effect, int time)
DrawParticleLine("Air", target->GetX()+3, target->GetY(), 3030, 315, 1, PV_Random(-2, 2), PV_Random(-2, 2), PV_Random(10, 30), particles);
target->SetPosition(3030,315);
target->SetR(-90);
target->SetDir(0);
target->SetR(-90);
target->~RollPlane();
}
private func Doors()