summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 19:34:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 19:34:44 +0300
commit44cdf80268135a21ddb09710fc029e808fb3f519 (patch)
treedca950b19cb1650a06b078f581cce53b48a0199b /src
parentaafddbc129b97289033dd1be054c7b493329c06b (diff)
downloadmanaplus-44cdf80268135a21ddb09710fc029e808fb3f519.tar.gz
manaplus-44cdf80268135a21ddb09710fc029e808fb3f519.tar.bz2
manaplus-44cdf80268135a21ddb09710fc029e808fb3f519.tar.xz
manaplus-44cdf80268135a21ddb09710fc029e808fb3f519.zip
Switch camera to default mode after slide.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beingrecv.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 836fdfc37..56fc0fbf2 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -37,6 +37,8 @@
#include "input/keyboardconfig.h"
+#include "gui/viewport.h"
+
#include "gui/windows/skilldialog.h"
#include "gui/windows/socialwindow.h"
#include "gui/windows/outfitwindow.h"
@@ -1484,6 +1486,8 @@ void BeingRecv::processBeingSlide(Net::MessageIn &msg)
{
localPlayer->stopAttack();
localPlayer->navigateClean();
+ if (viewport)
+ viewport->returnCamera();
}
dstBeing->setAction(BeingAction::STAND, 0);