forked from Mirrors/openclonk
added GetAimPosition which returns the current aiming-angle as a counterpart for SetAimPosition
parent
f7f3420977
commit
07088b22bf
|
@ -258,6 +258,9 @@ func FxIntAimTimer(target, effect, time)
|
|||
}
|
||||
}
|
||||
|
||||
// returns the current aiming angle
|
||||
public func GetAimPosition() { return aim_angle; }
|
||||
|
||||
public func SetAimPosition(int angle)
|
||||
{
|
||||
// Save angle
|
||||
|
|
Loading…
Reference in New Issue