summaryrefslogtreecommitdiffstats
path: root/System.c4g
diff options
context:
space:
mode:
Diffstat (limited to 'System.c4g')
-rw-r--r--System.c4g/DTSelectionContext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/System.c4g/DTSelectionContext.c b/System.c4g/DTSelectionContext.c
index 998c6f5..2cd4aba 100644
--- a/System.c4g/DTSelectionContext.c
+++ b/System.c4g/DTSelectionContext.c
@@ -358,7 +358,7 @@ func RemoveLineEntry(id id, int pos)
Sound("Error");
return false;
}
-
+
var lnkt = CreateObject(connection[1]->~KitID() || LNKT, 0, 0, GetOwner());
Collect(lnkt);
Sound("Connect");
@@ -374,10 +374,10 @@ func RemoveLineEntry(id id, int pos)
return true;
}
-func ControlDigDouble()
+func ControlDigDouble(target, overloaded)
{
- var ret = _inherited(...);
- if(!ret)
+ var ret = _inherited(target, true, ...);
+ if(!ret && !overloaded)
{
if(GetProcedure() == "WALK" || GetProcedure() == "DIG" || GetProcedure() == "SWIM")
{