fixed underwater dropping of second hand item (#1155)

issue1247
Maikel de Vries 2014-10-18 12:00:49 +02:00
parent 18ee7b0496
commit 1d34c12431
1 changed files with 1 additions and 1 deletions

View File

@ -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);