From ad290061e608a232ed04d587c7b742217f552898 Mon Sep 17 00:00:00 2001 From: MadCamel Date: Sun, 5 Apr 2009 21:18:07 -0400 Subject: QOAL's do not walk with the mouse while sitting --- src/gui/viewport.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui') 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 { -- cgit v1.2.3-70-g09d2