Library_Constructor: use normal single-use instead of holding-use

..because the library wasn't actually USING the holding callback at all. And it had/has its own CON_Aim hackery anyway. No need for the control-library internal CON_Aim stuff then (I could imagine this might just lead to issues at some point).
liquid_container
David Dormagen 2016-02-07 10:47:11 +01:00
parent d9760cdab6
commit 28ffc3d3b1
1 changed files with 1 additions and 9 deletions

View File

@ -13,18 +13,10 @@ func RejectUse(object clonk)
return !clonk->IsWalking();
}
public func ControlUseStart(object clonk, int x, int y)
public func ControlUse(object clonk, int x, int y)
{
// Otherwise create a menu with possible structures to build.
OpenConstructionMenu(clonk);
clonk->CancelUse();
return true;
}
public func HoldingEnabled() { return true; }
public func ControlUseHolding(object clonk, int x, int y)
{
return true;
}