From 9d842afb0a2973f8629e3601238c9ed4a98a00fd Mon Sep 17 00:00:00 2001 From: Tobias Zwick Date: Tue, 20 Jul 2010 20:45:00 +0200 Subject: [PATCH] #337 Open chest underwater --- planet/Objects.c4d/Libraries.c4d/ItemContainer.c4d/Script.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/planet/Objects.c4d/Libraries.c4d/ItemContainer.c4d/Script.c b/planet/Objects.c4d/Libraries.c4d/ItemContainer.c4d/Script.c index 515d1e19e..575ca63b9 100644 --- a/planet/Objects.c4d/Libraries.c4d/ItemContainer.c4d/Script.c +++ b/planet/Objects.c4d/Libraries.c4d/ItemContainer.c4d/Script.c @@ -63,9 +63,9 @@ public func ControlUseAlt(object clonk) public func OpenMenu(object clonk) { - var proc = clonk->GetProcedure(); - // not opened yet - if (!content_menu && (proc == "WALK" || proc == "PUSH")) + //var proc = clonk->GetProcedure(); + // not opened yet v- why is this check here? - it belongs in the object script - Newton + if (!content_menu /* && (proc == "WALK" || proc == "PUSH")*/) { content_menu = clonk->CreateRingMenu(GetID(), this); // all contents into the menu