From 041597971f6070cc05a53677ab7fbff6c404eb3e Mon Sep 17 00:00:00 2001 From: Maikel de Vries Date: Tue, 30 Jan 2018 21:28:30 +0100 Subject: [PATCH] fix typo in ladder library that adds an infinite amount of effects to the clonk over time --- planet/Objects.ocd/Libraries.ocd/LadderClimb.ocd/Script.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/planet/Objects.ocd/Libraries.ocd/LadderClimb.ocd/Script.c b/planet/Objects.ocd/Libraries.ocd/LadderClimb.ocd/Script.c index c7ff11771..0034ea7bd 100644 --- a/planet/Objects.ocd/Libraries.ocd/LadderClimb.ocd/Script.c +++ b/planet/Objects.ocd/Libraries.ocd/LadderClimb.ocd/Script.c @@ -50,6 +50,7 @@ public func StartScale() { return _inherited(...); } public func StartSearchLadder() { + Log("StartSearchLadder[%d](%v)", FrameCounter(), this); // Call the overwriten old phase call. if (GetAction() == "Jump" && this.ActMap.Jump.StartCallLadderOverloaded) Call(this.ActMap.Jump.StartCallLadderOverloaded); @@ -62,7 +63,7 @@ public func StartSearchLadder() public func AddSearchLadderEffect() { - if (!GetEffect("InSearchLadder", this)) + if (!GetEffect("IntSearchLadder", this)) AddEffect("IntSearchLadder", this, 1, 2, this); FxIntSearchLadderTimer(); return;