From a697016c58a74a02f1ad8d1076469738a67734f5 Mon Sep 17 00:00:00 2001 From: David Dormagen Date: Tue, 19 Jun 2012 21:30:14 +0200 Subject: [PATCH] reset some more internal variables to nil when cancelling aiming they could get in the way when re-aiming quickly after a shot --- planet/Objects.ocd/Libraries.ocd/AimManager.ocd/Script.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/planet/Objects.ocd/Libraries.ocd/AimManager.ocd/Script.c b/planet/Objects.ocd/Libraries.ocd/AimManager.ocd/Script.c index c4359ba0f..86940ed9a 100644 --- a/planet/Objects.ocd/Libraries.ocd/AimManager.ocd/Script.c +++ b/planet/Objects.ocd/Libraries.ocd/AimManager.ocd/Script.c @@ -433,7 +433,12 @@ public func ResetHands(bool pause) { aim_weapon = nil; aim_set = nil; - + + aim_schedule_call = nil; + aim_schedule_timer = nil; + aim_schedule_call2 = nil; + aim_schedule_timer2 = nil; + RemoveEffect("IntAimCheckProcedure", this); } }