forked from Mirrors/openclonk
fixed underwater dropping of second hand item (#1155)
parent
18ee7b0496
commit
1d34c12431
|
@ -1137,7 +1137,7 @@ public func ObjectControl(int plr, int ctrl, int x, int y, int strength, bool re
|
|||
if (ctrl == CON_ThrowAlt)
|
||||
{
|
||||
CancelUse();
|
||||
if (proc == "SCALE" || proc == "HANGLE")
|
||||
if (proc == "SCALE" || proc == "HANGLE" || proc == "SWIM")
|
||||
return ObjectCommand("Drop", contents2);
|
||||
else
|
||||
return ObjectCommand("Throw", contents2, x, y);
|
||||
|
|
Loading…
Reference in New Issue