diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 4 |
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); |