summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/viewport.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 7b797d5b..6dd1cb92 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -376,6 +376,10 @@ void Viewport::mousePressed(gcn::MouseEvent &event)
{
player_node->pickUp(item);
}
+ else if (player_node->mAction == Being::SIT)
+ {
+ return;
+ }
// Just walk around
else
{