summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--System.c4g/DTSelectionContext.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/System.c4g/DTSelectionContext.c b/System.c4g/DTSelectionContext.c
index 3584efa..1f4ebf0 100644
--- a/System.c4g/DTSelectionContext.c
+++ b/System.c4g/DTSelectionContext.c
@@ -379,9 +379,13 @@ func RemoveLineEntry(id id, int pos)
return true;
}
-func ControlDigDouble(target, overloaded)
+func ControlDigDouble()
{
- var ret = _inherited(target, true, ...);
+ static DT_SelectionContext_ControlDigDouble_overloaded;
+ var overloaded = DT_SelectionContext_ControlDigDouble_overloaded;
+ DT_SelectionContext_ControlDigDouble_overloaded = true;
+ var ret = _inherited(...);
+ DT_SelectionContext_ControlDigDouble_overloaded = overloaded;
if(!ret && !overloaded)
{
if(GetProcedure() == "WALK" || GetProcedure() == "DIG" || GetProcedure() == "SWIM")