added GetAimPosition which returns the current aiming-angle as a counterpart for SetAimPosition

Controls
David Dormagen 2013-06-30 17:18:12 +02:00 committed by Nicolas Hake
parent f7f3420977
commit 07088b22bf
1 changed files with 3 additions and 0 deletions

View File

@ -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